[arch-dev-public] [PATCH] Package details view: Show the pkgbase if it differs from pkgname

Thomas Bächler thomas at archlinux.org
Thu Apr 29 18:05:46 CEST 2010


---
 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



More information about the arch-dev-public mailing list