diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 21:06:39 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 21:06:39 -0400 |
commit | c910b9220c45eb9d493d260f325efda2141205a4 (patch) | |
tree | 6152b43ea4c60a514949238b76e549fd283b9a72 /templates | |
parent | 02ffa37f8607634e5e4eccba7ef25d4f48b29b3b (diff) | |
parent | f9f8683799ef96904a7165adcfdeb0d13cb7ff61 (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.html | 2 | ||||
-rw-r--r-- | templates/feeds/packages_title.html | 1 | ||||
-rw-r--r-- | templates/packages/details.html.jinja | 2 |
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> |