Fix invalid template syntax

Django 1.1 doesn't support arbitrary logic in if statements, but we can use
ifnotequal instead. Fixes breakage from commit 58566e.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2010-05-04 10:49:33 -05:00
parent c4a953c388
commit c546630ad8

View File

@ -38,10 +38,10 @@ <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
</tr><tr>
<th>Repository:</th>
<td>{{ pkg.repo.name|capfirst }}</td>
</tr>{% if pkg.pkgname != pkg.pkgbase %}<tr>
</tr>{% ifnotequal pkg.pkgname pkg.pkgbase %}<tr>
<th>Base Package Name:</th>
<td>{{ pkg.pkgbase }}</td>
</tr>{% endif %}<tr>
</tr>{% endifnotequal %}<tr>
<th>Description:</th>
<td>{% if pkg.pkgdesc %}{{ pkg.pkgdesc }}{% endif %}</td>
</tr><tr>