aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news/show.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news/show.html')
-rw-r--r--templates/news/show.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/news/show.html b/templates/news/show.html
index dcc4e4a..4084450 100644
--- a/templates/news/show.html
+++ b/templates/news/show.html
@@ -4,9 +4,9 @@
<div class="quickview"/>
<h2>Détails</h2>
<ul>
- <li>Auteur : <a href="">{{news.name}}</a></li>
-<li>Date : {{news.date|format_date}} </li>
-<!--<li><a href="#comments">{{coments}}</a></li>-->
+ <li>Auteur : <a href="{{url_for('view_user', user_id=news.user_id)}}">{{news.user_name}}</a></li>
+ <li>Date : {{news.date|format_date}} </li>
+ <li><a href="#comments">{{"Commentaire"|pluralize(comments|count)}}</a></li>
</div>
<div class="news"/>