Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Development (http://www.linux-archive.org/archlinux-development/)
-   -   Package details view: Show the pkgbase if it differs from pkgname (http://www.linux-archive.org/archlinux-development/363704-package-details-view-show-pkgbase-if-differs-pkgname.html)

Thomas Bächler 04-29-2010 04:05 PM

Package details view: Show the pkgbase if it differs from pkgname
 
---
templates/packages/details.html | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/templates/packages/details.html b/templates/packages/details.html
index 648b648..cd108af 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -38,7 +38,10 @@
</tr><tr>
<th>Repository:</th>
<td>{{ pkg.repo.name|capfirst }}</td>
- </tr><tr>
+ </tr>{% if pkg.pkgname != pkg.pkgbase %}<tr>
+ <th>Base package name:</th>
+ <td>{{ pkg.pkgbase }}</td>
+ </tr>{% endif %}<tr>
<th>Description:</th>
<td>{% if pkg.pkgdesc %}{{ pkg.pkgdesc }}{% endif %}</td>
</tr><tr>
--
1.7.1


All times are GMT. The time now is 06:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.