diff options
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/home.html (renamed from pyaggr3g470r/templates/reader.html) | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/reader.html b/pyaggr3g470r/templates/home.html index a2b4481c..96cd83a5 100644 --- a/pyaggr3g470r/templates/reader.html +++ b/pyaggr3g470r/templates/home.html @@ -7,7 +7,15 @@ {{ _('All feeds') }} {% if not feed_id %}</b>{% endif %} </a></li> - {% for fid, ftitle in feeds.items() %} + {% for fid in unread %} + <li><a href="{{ gen_url(feed=fid) }}"> + {% if feed_id == fid %}<b>{% endif %} + <span class="badge pull-right">{{ unread[fid] }}</span> + {{ feeds[fid]|safe }} + {% if feed_id == fid %}</b>{% endif %} + </a></li> + {% endfor %} + {% for fid, ftitle in feeds.items() if not fid in unread %} <li><a href="{{ gen_url(feed=fid) }}"> {% if feed_id == fid %}<b>{% endif %} {{ ftitle|safe }} |