aboutsummaryrefslogtreecommitdiff
path: root/source/templates/index.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-02 11:26:07 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-02 11:26:07 +0100
commitfdc8d24c941681f344f999cbb8266e275760db1c (patch)
tree5b73e362f95db2dfee2badc55bfa041ac22399fe /source/templates/index.html
parentNumbers are printed with commas as thousands separators. (diff)
downloadnewspipe-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/index.html')
-rw-r--r--source/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/templates/index.html b/source/templates/index.html
index fea71154..7a09e25c 100644
--- a/source/templates/index.html
+++ b/source/templates/index.html
@@ -21,7 +21,7 @@ import utils
not_read_begin, not_read_end = "", ""
html += """<div><a href="/#%s">%s</a> (<a href="/unread/%s" title="Unread article(s)">%s%s%s</a> / %s)</div>\n""" % \
(feed["feed_id"], feed["feed_title"], feed["feed_id"], not_read_begin, \
- mongo.nb_unread_articles(feed["feed_id"]), not_read_end, mongo.nb_articles(feed["feed_id"]))
+ format(mongo.nb_unread_articles(feed["feed_id"]), ',d'), not_read_end, format(mongo.nb_articles(feed["feed_id"]), ',d'))
%>
%endfor
${html}
bgstack15