aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/feed.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html
index 1ad27947..93b67bd4 100644
--- a/pyaggr3g470r/templates/feed.html
+++ b/pyaggr3g470r/templates/feed.html
@@ -9,7 +9,8 @@
</div>
<div class="jumbotron">
<p>
- This feed contains {{ feed.articles|count }} <a href="/articles/{{ feed.oid }}">articles</a>.<br />
+ This feed contains {{ feed.articles|count }} <a href="/articles/{{ feed.oid }}">articles</a>
+ ({{ ((feed.articles|count * 100 ) / nb_articles) | round(2, 'floor') }}% of the database).<br />
Address of the feed: <a href="{{ feed.link }}">{{ feed.link }}</a>.<br />
Address of the site: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a>.<br />
{% if feed.articles|count != 0 %}
bgstack15