aboutsummaryrefslogtreecommitdiff
path: root/source/templates/feed.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-12-13 23:13:36 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-12-13 23:13:36 +0100
commit73099b55ed9e81543bcf4706ac088ec6afbab936 (patch)
tree8b624192a34e01af220bb6c71505a60d3e4e7835 /source/templates/feed.html
parentTest if list of articles is not empty. (diff)
downloadnewspipe-73099b55ed9e81543bcf4706ac088ec6afbab936.tar.gz
newspipe-73099b55ed9e81543bcf4706ac088ec6afbab936.tar.bz2
newspipe-73099b55ed9e81543bcf4706ac088ec6afbab936.zip
float() now useless with Python3
Diffstat (limited to 'source/templates/feed.html')
-rw-r--r--source/templates/feed.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/templates/feed.html b/source/templates/feed.html
index c5ca831c..a558a54b 100644
--- a/source/templates/feed.html
+++ b/source/templates/feed.html
@@ -5,7 +5,7 @@ import utils
%>
<div class="left inner">
<p>The feed <b>${feed['feed_title']}</b> contains <b>${nb_articles_feed}</b> articles.
-Representing ${(round(float(nb_articles_feed) / nb_articles_total, 4)) * 100} percent of the total (${nb_articles_total}).</p>
+Representing ${(round(nb_articles_feed / nb_articles_total, 4)) * 100} percent of the total (${nb_articles_total}).</p>
%if articles:
<p>${(nb_unread_articles_feed == 0 and ["All articles are read"] or [str(nb_unread_articles_feed) + " unread article" + (nb_unread_articles_feed == 1 and [""] or ["s"])[0]])[0]}.</p>
bgstack15