From c546630ad8609bf30b6ac24326bc7f04aac8d99c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 4 May 2010 10:49:33 -0500 Subject: 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 --- templates/packages/details.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') 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 @@

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

Repository: {{ pkg.repo.name|capfirst }} - {% if pkg.pkgname != pkg.pkgbase %} + {% ifnotequal pkg.pkgname pkg.pkgbase %} Base Package Name: {{ pkg.pkgbase }} - {% endif %} + {% endifnotequal %} Description: {% if pkg.pkgdesc %}{{ pkg.pkgdesc }}{% endif %} -- cgit v1.2.3-54-g00ecf