aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-04-12 07:35:53 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-04-12 07:35:53 +0200
commit94c49a62c541bfccba8b0831cbb2a748d13d45be (patch)
tree5c885338445f28619deb3399f53c3a96667874d8
parentMinor bugfix: the link to the heart picto was wrong. (diff)
downloadnewspipe-94c49a62c541bfccba8b0831cbb2a748d13d45be.tar.gz
newspipe-94c49a62c541bfccba8b0831cbb2a748d13d45be.tar.bz2
newspipe-94c49a62c541bfccba8b0831cbb2a748d13d45be.zip
A picto was not displayed in the /articles page.
-rw-r--r--source/static/templates/articles.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/static/templates/articles.html b/source/static/templates/articles.html
index 4637822f..d7fcc4d5 100644
--- a/source/static/templates/articles.html
+++ b/source/static/templates/articles.html
@@ -27,7 +27,7 @@ import utils
not_read_begin, not_read_end = "", ""
if article["article_like"] == True:
- like = """ <img src="/img/heart.png" title="I like this article!" />"""
+ like = """<img src="/static/img/heart.png" title="I like this article!" />"""
else:
like = ""
@@ -37,7 +37,7 @@ import utils
else:
description = "No description."
%>
- ${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>
+ ${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> ${like}
<br />
%endfor
<h4><a href="/">All feeds</a></h4>
bgstack15