summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-04 10:49:33 -0500
committerDan McGee <dan@archlinux.org>2010-05-04 10:49:33 -0500
commitc546630ad8609bf30b6ac24326bc7f04aac8d99c (patch)
tree912dfad91a5facdde7586542fd31a77d6e405592 /templates/packages
parentc4a953c38834fb168309306f7d4f8949165d16dd (diff)
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>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/details.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 099b8c69..78209d83 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -38,10 +38,10 @@
</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>