aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/article.html5
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">
bgstack15