aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-13 10:10:44 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-13 10:10:44 +0200
commit487b5446d28f1706025d5379bf8c1b384ff3b783 (patch)
treeaf61f8f1465d16cb95f5a45eee613cdd1e10d52e /pyaggr3g470r/templates
parentUpdated README. (diff)
downloadnewspipe-487b5446d28f1706025d5379bf8c1b384ff3b783.tar.gz
newspipe-487b5446d28f1706025d5379bf8c1b384ff3b783.tar.bz2
newspipe-487b5446d28f1706025d5379bf8c1b384ff3b783.zip
Improvement for the /articles page.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/articles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html
index e50b12ec..d2da6d18 100644
--- a/pyaggr3g470r/templates/articles.html
+++ b/pyaggr3g470r/templates/articles.html
@@ -5,7 +5,7 @@
<h2><a href="{{ feed.site_link }}">{{ feed.title|safe }}</a></h2>
<a href="/feed/{{ feed.id }}"><i class="glyphicon glyphicon-info-sign" title="Details"></i></a>
<a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
- {% if nb_articles == -1 %}
+ {% if nb_articles == 10**9 %}
<h3>{{ feed.articles.all()|count }} articles.</h3>
{% else %}
<h3>Last {{ feed.articles.all()|count }} articles. See <a href="/articles/{{ feed.id }}">all articles</a>.</h3>
bgstack15