aboutsummaryrefslogtreecommitdiffstats
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
parent2b743110d7d4bbf3f037ab15ef65d73e502c6a28 (diff)
downloadfamille-flask-0ad0d9f45510461cefc7ca35c1ec3d1d732a2f52.tar.gz
Simplify link to comments
-rw-r--r--static/main.css2
-rw-r--r--templates/news/list.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/static/main.css b/static/main.css
index d79fb50..b1ac6ed 100644
--- a/static/main.css
+++ b/static/main.css
@@ -18,5 +18,5 @@ article > header {
}
nav .fa {
- margin-left: 0.5em;
+ margin-left: 1em;
}
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>