diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-04-29 18:05:46 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-04-29 11:11:11 -0500 |
commit | 58566e82d9ebed58caeba85ae68d346cf6b15f90 (patch) | |
tree | 9e88f3acceb62558f0858ca5a20d9545b4d436d6 | |
parent | 8c3a4e77e7e23bc3f72c83eba8ca562fb4927e5a (diff) |
Package details view: Show the pkgbase if it differs from pkgname
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | 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 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> |