aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-16 07:36:11 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-16 07:36:11 +0100
commitf322fba75c8ca3dd4296a11bda688d63b2a547d2 (patch)
tree0334f42f791202d184b4e932c88ac2e5c466a1da /pyaggr3g470r
parentRemoved blank line. (diff)
downloadnewspipe-f322fba75c8ca3dd4296a11bda688d63b2a547d2.tar.gz
newspipe-f322fba75c8ca3dd4296a11bda688d63b2a547d2.tar.bz2
newspipe-f322fba75c8ca3dd4296a11bda688d63b2a547d2.zip
Added a new Jinja filter to get month name from number.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/history.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/history.html b/pyaggr3g470r/templates/history.html
index 2d64da98..3b9412a3 100644
--- a/pyaggr3g470r/templates/history.html
+++ b/pyaggr3g470r/templates/history.html
@@ -7,7 +7,7 @@
{% if year == None %}
<li class="list-group-item"><a href="/history/{{ article }}">{{ article }}</a> : {{ articles_counter[article] }} articles</li>
{% elif month == None %}
- <li class="list-group-item"><a href="/history/{{ year }}/{{ article }}">{{ article }}</a> : {{ articles_counter[article] }} articles</li>
+ <li class="list-group-item"><a href="/history/{{ year }}/{{ article }}">{{ article | month_name }}</a> : {{ articles_counter[article] }} articles</li>
{% else %}
{% for article in articles %}
<li class="list-group-item">{{ article.date }} - <a href="/article/{{ article.id }}">{{ article.title | safe }}</a></li>
bgstack15