aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-12-05 00:24:49 -0500
committerThibaut Horel <thibaut.horel@gmail.com>2014-12-05 00:24:49 -0500
commit0ad0d9f45510461cefc7ca35c1ec3d1d732a2f52 (patch)
tree8ee2db06788801ee157aa80f59d5498dc0f35fc8 /templates
parent2b743110d7d4bbf3f037ab15ef65d73e502c6a28 (diff)
downloadfamille-flask-0ad0d9f45510461cefc7ca35c1ec3d1d732a2f52.tar.gz
Simplify link to comments
Diffstat (limited to 'templates')
-rw-r--r--templates/news/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/news/list.html b/templates/news/list.html
index 6385004..61320a3 100644
--- a/templates/news/list.html
+++ b/templates/news/list.html
@@ -22,7 +22,7 @@
{% endif %}
<p class="comments pull-right">
- <i class="fa fa-comment"></i> <a href="{{url_for('show_news', news_id = news.id)}}#add">{{"Commentaire"|pluralize(news.ncomments)}}</a>
+ <a href="{{url_for('show_news', news_id = news.id)}}#add">{{news.ncomments}}</a> <i class="fa fa-comment"></i>
</p>
<p>Posté par <a href="{{url_for('view_user', user_id=news.user_id)}}">{{news.user_name}}</a> le {{news.date|format_date}}</p>