diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-02 11:26:07 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-02 11:26:07 +0100 |
commit | fdc8d24c941681f344f999cbb8266e275760db1c (patch) | |
tree | 5b73e362f95db2dfee2badc55bfa041ac22399fe /source/templates/feed.html | |
parent | Numbers are printed with commas as thousands separators. (diff) | |
download | newspipe-fdc8d24c941681f344f999cbb8266e275760db1c.tar.gz newspipe-fdc8d24c941681f344f999cbb8266e275760db1c.tar.bz2 newspipe-fdc8d24c941681f344f999cbb8266e275760db1c.zip |
Numbers are printed with commas as thousands separators without taking into account the locale of the system.
Diffstat (limited to 'source/templates/feed.html')
-rw-r--r-- | source/templates/feed.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/templates/feed.html b/source/templates/feed.html index 01799fb7..8e10393c 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((nb_articles_feed / nb_articles_total) * 100, 4)} percent of the total (${nb_articles_total}).</p> + Representing ${round((nb_articles_feed / nb_articles_total) * 100, 4)} percent of the total (${format(nb_articles_total, ',d')}).</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> |