From f322fba75c8ca3dd4296a11bda688d63b2a547d2 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 16 Mar 2015 07:36:11 +0100 Subject: Added a new Jinja filter to get month name from number. --- pyaggr3g470r/templates/history.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') 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 %}
  • {{ article }} : {{ articles_counter[article] }} articles
  • {% elif month == None %} -
  • {{ article }} : {{ articles_counter[article] }} articles
  • +
  • {{ article | month_name }} : {{ articles_counter[article] }} articles
  • {% else %} {% for article in articles %}
  • {{ article.date }} - {{ article.title | safe }}
  • -- cgit