From ed06b9a5cca186146548472c8f88f8dd2b63eee1 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 28 Nov 2014 15:24:18 +0100 Subject: Added duplicates.html template. --- pyaggr3g470r/templates/duplicates.html | 14 ++++++++++++++ pyaggr3g470r/templates/inactives.html | 25 ++++++++++++++++--------- 2 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 pyaggr3g470r/templates/duplicates.html (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/duplicates.html b/pyaggr3g470r/templates/duplicates.html new file mode 100644 index 00000000..548f845d --- /dev/null +++ b/pyaggr3g470r/templates/duplicates.html @@ -0,0 +1,14 @@ +{% extends "layout.html" %} +{% block content %} +
+ {% if duplicates != [] %} + + {% else %} +

{{ _('No duplicates.') }}

+ {% endif %} +

+{% endblock %} diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html index 548f845d..e6897281 100644 --- a/pyaggr3g470r/templates/inactives.html +++ b/pyaggr3g470r/templates/inactives.html @@ -1,14 +1,21 @@ {% extends "layout.html" %} {% block content %}
- {% if duplicates != [] %} - - {% else %} -

{{ _('No duplicates.') }}

- {% endif %} +

+
+

{{ _('Days of inactivity') }}:

+ +
+
+ {% if inactives != [] %} +
    + {% for item in inactives %} +
  • {{ item[0].title }} - {{ item[1].days }} {{ _('days') }}
  • + {% endfor %} +
+ {% else %} +

{{ _('No inactive feeds.') }}

+ {% endif %} +

{% endblock %} -- cgit