summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 21:06:39 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-13 21:06:39 -0400
commitc910b9220c45eb9d493d260f325efda2141205a4 (patch)
tree6152b43ea4c60a514949238b76e549fd283b9a72 /templates
parent02ffa37f8607634e5e4eccba7ef25d4f48b29b3b (diff)
parentf9f8683799ef96904a7165adcfdeb0d13cb7ff61 (diff)
Merge tag 'release_2014-10-20' into archweb-generic
A few Jinja2 fixes and some perf changes
Diffstat (limited to 'templates')
-rw-r--r--templates/feeds/news_description.html2
-rw-r--r--templates/feeds/packages_title.html1
-rw-r--r--templates/packages/details.html.jinja2
3 files changed, 1 insertions, 4 deletions
diff --git a/templates/feeds/news_description.html b/templates/feeds/news_description.html
deleted file mode 100644
index 61ceedf3..00000000
--- a/templates/feeds/news_description.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<p>{{obj.author.get_full_name}} wrote:</p>
-{{ obj.html }}
diff --git a/templates/feeds/packages_title.html b/templates/feeds/packages_title.html
deleted file mode 100644
index f92ac684..00000000
--- a/templates/feeds/packages_title.html
+++ /dev/null
@@ -1 +0,0 @@
-{{ obj.pkgname }} {{ obj.full_version }} {{ obj.arch.name }} \ No newline at end of file
diff --git a/templates/packages/details.html.jinja b/templates/packages/details.html.jinja
index 3632ecf0..af4cbe24 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>