diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-02 23:35:03 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-02 23:35:03 +0100 |
commit | e45afc1bcc1753b58819db3d5b01c91b4a9b9068 (patch) | |
tree | c2acfde64c29fa425c1f62f27b4cc02c5ef76cb4 /pyaggr3g470r | |
parent | The link of the feed is unique. (diff) | |
download | newspipe-e45afc1bcc1753b58819db3d5b01c91b4a9b9068.tar.gz newspipe-e45afc1bcc1753b58819db3d5b01c91b4a9b9068.tar.bz2 newspipe-e45afc1bcc1753b58819db3d5b01c91b4a9b9068.zip |
Display a start for favorites articles.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/templates/article.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html index c05cac5e..9174aea3 100644 --- a/pyaggr3g470r/templates/article.html +++ b/pyaggr3g470r/templates/article.html @@ -4,6 +4,11 @@ <div class="jumbotron"> <h2><a href="{{ article.link }}">{{ article.title }}</a></h2> <a href="/delete/{{ article.id }}"><i class="glyphicon glyphicon-remove" title="Delete this article"></i></a> + {% if article.like %} + <i class="glyphicon glyphicon-star" title="One of your favorites"></i> + {% else %} + <i class="glyphicon glyphicon-star-empty" title="Click if you like this article"></i> + {% endif %} <h6>{{ article.date }}</h6> </div> <div class="jumbotron"> |