{% extends "layout.html" %} {% block content %}

{{ feed.title }}

{% if feed.description %}

{{ feed.description }}

{% endif %} {% if current_user.is_authenticated %} {% endif %}

{{ _('This feed contains') }} {{ feed.articles.all()|count }} {{ _('articles') }}.
{% if category %} {{ _('This feed is part of category %(category_name)s', category_name=category.name) }}
{% endif %} {{ _('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 %}

{% for article in articles %} {% endfor %}
{{ _('Article') }} {{ _('Date') }}
{{ article.title }} {{ article.date | datetime }}
{{ pagination.links }}
{% endblock %}