aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-29 11:37:15 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-29 11:37:15 +0200
commit9454f4997ba6f4745654686cea5b0a67176d2f72 (patch)
treeba2ee5579ddbec563b56ab8d7326506a924e5760 /pyaggr3g470r/templates/home.html
parentA little bit more JavaScript. (diff)
downloadnewspipe-9454f4997ba6f4745654686cea5b0a67176d2f72.tar.gz
newspipe-9454f4997ba6f4745654686cea5b0a67176d2f72.tar.bz2
newspipe-9454f4997ba6f4745654686cea5b0a67176d2f72.zip
Mark an article as read or unread via the REST API.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 95fa3b44..4f691a50 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -106,11 +106,13 @@
<i class="glyphicon glyphicon-star-empty like" title="{{ _('Click if you like this article') }}"></i>
{% endif %}
</a>
+ <a href="#">
{% if article.readed %}
- <a href="/mark_as/unread/article/{{ article.id }}"><i class="glyphicon glyphicon-unchecked" title="{{ _('Mark this article as unread') }}"></i></a>
- {% else %}
- <a href="/mark_as/read/article/{{ article.id }}"><i class="glyphicon glyphicon-check" title="{{ _('Mark this article as read') }}"></i></a>
+ <i class="glyphicon glyphicon-unchecked readed" title="{{ _('Mark this article as unread') }}"></i>
+ {% else %}
+ <i class="glyphicon glyphicon-check readed" title="{{ _('Mark this article as read') }}"></i>
{% endif %}
+ </a>
</td>
</tr>
{% endfor %}
bgstack15