From 5aebb0bd464cf7af712de1cb0f79754fd9afc4a6 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 5 Mar 2015 07:28:30 +0100 Subject: Minor update to the 'feed' template. --- pyaggr3g470r/templates/feed.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html index 12a7aa50..acc1d3a2 100644 --- a/pyaggr3g470r/templates/feed.html +++ b/pyaggr3g470r/templates/feed.html @@ -15,7 +15,7 @@ {% endif %} {% if feed.last_retrieved %} - {{ _("Last download:") }}
{{ feed.last_retrieved }}

+ {{ _("Last download:") }} {{ feed.last_retrieved | datetime }}
{% endif %} {% if feed.error_count > 2 %} @@ -30,9 +30,9 @@ {{ _('Address of the feed') }}: {{ feed.link }}
{% if feed.site_link != "" %} - {{ _('Address of the site') }}: {{ feed.site_link }} + {{ _('Address of the site') }}: {{ feed.site_link }}
{% endif %} -
+ {% if feed.articles.all()|count != 0 %} {{ _('The last article was posted') }} {{ elapsed.days }} {{ _('day(s) ago.') }}
{{ _('Daily average') }}: {{ average }}, {{ _('between the') }} {{ first_post_date | datetime }} {{ _('and the') }} {{ end_post_date | datetime }}. -- cgit