summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-04-29 18:05:46 +0200
committerDan McGee <dan@archlinux.org>2010-04-29 11:11:11 -0500
commit58566e82d9ebed58caeba85ae68d346cf6b15f90 (patch)
tree9e88f3acceb62558f0858ca5a20d9545b4d436d6 /templates/packages/details.html
parent8c3a4e77e7e23bc3f72c83eba8ca562fb4927e5a (diff)
Package details view: Show the pkgbase if it differs from pkgname
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 648b6483..099b8c69 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>