Package details view: Show the pkgbase if it differs from pkgname

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Thomas Bächler 2010-04-29 18:05:46 +02:00 committed by Dan McGee
parent 8c3a4e77e7
commit 58566e82d9

View File

@ -38,7 +38,10 @@ <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
</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>