summaryrefslogtreecommitdiff
path: root/templates/packages/details.html.jinja
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-10-20 07:55:24 -0500
committerDan McGee <dan@archlinux.org>2014-10-20 07:55:26 -0500
commitf9f8683799ef96904a7165adcfdeb0d13cb7ff61 (patch)
treea67734430c8ceb27ebe3d0e00c35cd3baa37d98e /templates/packages/details.html.jinja
parentf7d1940a731370ceee6e1c6eaae2cc2f5bab0432 (diff)
Fix display of flag requests for non-logged-in usersrelease_2014-10-20
More Jinja2 conversion fallout, whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html.jinja')
-rw-r--r--templates/packages/details.html.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/details.html.jinja b/templates/packages/details.html.jinja
index 21be80f5..2215f8dc 100644
--- a/templates/packages/details.html.jinja
+++ b/templates/packages/details.html.jinja
@@ -183,7 +183,7 @@
<th>Last Updated:</th>
<td>{{ pkg.last_update|date("DATETIME_FORMAT") }} UTC</td>
</tr>
- {% if user.is_authenticated %}{% with flag_request = pkg.flag_request() %}{% if flag_request %}<tr>
+ {% if user.is_authenticated() %}{% with flag_request = pkg.flag_request() %}{% if flag_request %}<tr>
<th>Last Flag Request:</th>
<td class="wrap">From {{ flag_request.who() }} on {{ flag_request.created|date }}:<br/>
<div class="userdata">{{ flag_request.message|linebreaksbr|default("{no message}") }}</div></td>