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 18:11:11 +0200 |
commit | 58566e82d9ebed58caeba85ae68d346cf6b15f90 (patch) | |
tree | 9e88f3acceb62558f0858ca5a20d9545b4d436d6 | |
parent | 8c3a4e77e7e23bc3f72c83eba8ca562fb4927e5a (diff) | |
download | archweb-58566e82d9ebed58caeba85ae68d346cf6b15f90.tar.gz archweb-58566e82d9ebed58caeba85ae68d346cf6b15f90.tar.xz |
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 648b648..099b8c6 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> |