aboutsummaryrefslogtreecommitdiffstats
path: root/templates/news
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-12-05 00:55:00 -0500
committerThibaut Horel <thibaut.horel@gmail.com>2014-12-05 00:55:00 -0500
commit8f38587e5c92e1339e84cd0093a2fd8902b0a9db (patch)
treebf8c53bde1b1db22768dbcfbb14e37ab64ed4373 /templates/news
parent42a9c159c9f23f63ec028af050b4f31144e5b7a8 (diff)
downloadfamille-flask-8f38587e5c92e1339e84cd0093a2fd8902b0a9db.tar.gz
Tooltips, icons
Diffstat (limited to 'templates/news')
-rw-r--r--templates/news/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/list.html b/templates/news/list.html
index 61320a3..f03b720 100644
--- a/templates/news/list.html
+++ b/templates/news/list.html
@@ -18,11 +18,11 @@
<h2><a href="{{url_for('show_news', news_id = news.id)}}">{{ news.title }}</a></h2>
{% if news.user_name==session.user_name %}
- <p class="pull-right">&nbsp;| <a href="{{url_for('edit_news', news_id = news.id)}}">Modifier</a> </p>
+ <p class="pull-right">&nbsp;&nbsp;&nbsp;<a href="{{url_for('edit_news', news_id = news.id)}}"><i data-toggle="tooltip" data-placement="bottom" title="Éditer" class="fa fa-pencil"></i></a> </p>
{% endif %}
<p class="comments pull-right">
- <a href="{{url_for('show_news', news_id = news.id)}}#add">{{news.ncomments}}</a> <i class="fa fa-comment"></i>
+ <a href="{{url_for('show_news', news_id = news.id)}}#add">{{news.ncomments}} <i class="fa fa-comment"></i></a>
</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>