From b2618e9404b84cc62d4becb02436233a0d53b375 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 25 Nov 2015 22:45:43 +0100 Subject: Rfactorization. Just a start... --- pyaggr3g470r/templates/feed.html | 47 ---------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 pyaggr3g470r/templates/feed.html (limited to 'pyaggr3g470r/templates/feed.html') diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html deleted file mode 100644 index c421a411..00000000 --- a/pyaggr3g470r/templates/feed.html +++ /dev/null @@ -1,47 +0,0 @@ -{% extends "layout.html" %} -{% block content %} -
-
-

{{ feed.title }}

- {% if feed.description %}

{{ feed.description }}

{% endif %} - - -
-
-

- {{ _('This feed contains') }} {{ feed.articles.all()|count }} {{ _('articles') }}.
- {{ _('Address of the feed') }}: {{ feed.link }}
- {% if feed.site_link != "" %} - {{ _('Address of the site') }}: {{ feed.site_link }}
- {% endif %} - -
- - {% if feed.last_retrieved %} - {{ _("Last download:") }} {{ feed.last_retrieved | datetime }}
- {% endif %} - - {% if feed.error_count >= conf.DEFAULT_MAX_ERROR %} - {{ _("That feed has encountered too much consecutive errors and won't be retrieved anymore.") }}
- {{ _("You can click here to reset the error count and reactivate the feed.", reset_error_url=url_for("feed.reset_errors", feed_id=feed.id)) }} - {% elif feed.error_count > 0 %} - {{ _("The download of this feed has encountered some problems. However its error counter will be reinitialized at the next successful retrieving.") }}
- {% endif %} - - {% if feed.last_error %} - {{ _("Here's the last error encountered while retrieving this feed:") }}

{{ feed.last_error }}

- {% 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 }}. - {% endif %} -

-
-
- {% if feed.articles.all()|count != 0 %} -
{{ tag_cloud|safe }}
- {% endif %} -
-
-{% endblock %} -- cgit