From e60087e68546a8a9b483e09a78f4389fcc9ebc4e Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 20 Sep 2016 15:08:47 +0200 Subject: Few improvemnts for the tag cloud of the user's profile pages. --- src/web/templates/feed_list.html | 52 +++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 30 deletions(-) (limited to 'src/web/templates/feed_list.html') diff --git a/src/web/templates/feed_list.html b/src/web/templates/feed_list.html index 04543e4c..f8e3551e 100644 --- a/src/web/templates/feed_list.html +++ b/src/web/templates/feed_list.html @@ -4,45 +4,37 @@ # - {% if current_user.is_authenticated and current_user.id == user.id %} - {{ _('Status') }} - {% endif %} + {{ _('Status') }} {{ _('Title') }} {{ _('Site') }} - {% if current_user.is_authenticated and current_user.id == user.id %} - {{ _('Articles') }} - {{ _('Actions') }} - {% endif %} + {{ _('Articles') }} + {{ _('Actions') }} {% for feed in feeds %} - + {{ loop.index }} - {% if current_user.is_authenticated and current_user.id == user.id %} - - {% if feed.enabled %} - - {% else %} - - {% endif %} - {% if feed.error_count >= conf.DEFAULT_MAX_ERROR %} - - {% endif %} - - {% endif %} + + {% if feed.enabled %} + + {% else %} + + {% endif %} + {% if feed.error_count >= conf.DEFAULT_MAX_ERROR %} + + {% endif %} + {% if feed.icon_url %} {% endif %}{{ feed.title }} {{ feed.site_link }} - {% if current_user.is_authenticated and current_user.id == user.id %} - ( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }} - - - - - - - {% endif %} - + ( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }} + + + + + + + {% endfor %} -- cgit