aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/articles.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/articles.html')
-rw-r--r--pyaggr3g470r/templates/articles.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html
index eb4701d7..97b06f6a 100644
--- a/pyaggr3g470r/templates/articles.html
+++ b/pyaggr3g470r/templates/articles.html
@@ -5,7 +5,11 @@
<h2><a href="{{ feed.site_link }}">{{ feed.title|safe }}</a></h2>
<a href="/feed/{{ feed.oid }}"><i class="glyphicon glyphicon-info-sign" title="Details"></i></a>
<a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
- <h3>{{ feed.articles|count }} articles.</h3>
+ {% if nb_articles == -1 %}
+ <h3>{{ feed.articles|count }} articles.</h3>
+ {% else %}
+ <h3>Last {{ feed.articles|count }} articles. See <a href="/articles/{{ feed.oid }}">all articles</a>.</h3>
+ {% endif %}
</div>
{% if feed.articles|count == 0 %}
<h1>No articles.</h1>
bgstack15