aboutsummaryrefslogtreecommitdiff
path: root/source/static
diff options
context:
space:
mode:
Diffstat (limited to 'source/static')
-rw-r--r--source/static/templates/articles.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/static/templates/articles.html b/source/static/templates/articles.html
index cbba2508..4637822f 100644
--- a/source/static/templates/articles.html
+++ b/source/static/templates/articles.html
@@ -14,7 +14,11 @@ import utils
<div class="left inner">
<h1>Articles of the feed <i><a href="/feed/${feed['feed_id']}">${feed['feed_title']}</a></i></h1>
- <br />
+ %if articles.count() == 0:
+ <p>No articles yet.</p>
+ %else:
+ <br />
+ %endif
%for article in articles:
<%
if article["article_readed"] == False:
@@ -36,4 +40,4 @@ import utils
${article["article_date"].strftime('%Y-%m-%d %H:%M')} - <a class="tooltip" href="/article/${feed['feed_id']}:${article['article_id']}" rel="noreferrer" target="_blank">${not_read_begin}${article["article_title"][:150]}${not_read_end}<span class="classic">${description}</span></a>
<br />
%endfor
- <h4><a href="/">All feeds</a></h4> \ No newline at end of file
+ <h4><a href="/">All feeds</a></h4>
bgstack15