diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/news/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/news/list.html b/templates/news/list.html index 99d1571..c0d7e0a 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -17,10 +17,10 @@ </table> <h2>Derniers commentaires</h2> -<ul> +<ul id="last-comments"> {% for comment in comments %} - <li><a href="{{url_for('view_user', user_id=comment.user_id)}}">{{comment.username}}</a> - {{comment.date|format_date}}<br/> + <li><a href="{{url_for('view_user', user_id=comment.user_id)}}">{{comment.user_name}}</a> + {{comment.date|format_date('%a %d %b à %Hh%M')}}<br/> {{comment.content_cache|shortify|safe}} <a href="{{url_for('show_news', news_id=comment.news_id)}}#comments">[…]</a> </li> {% else %} |
