diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-12-10 22:12:35 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-07-02 09:35:32 +0200 |
commit | 052440af2ca02146889f8c063e6a34ec6b1f6881 (patch) | |
tree | 89690f681b144104efefc313c20f0e040d0aa458 /newspipe/templates/article.html | |
parent | added new ix_articletag_aid index in article_tag (diff) | |
download | newspipe-052440af2ca02146889f8c063e6a34ec6b1f6881.tar.gz newspipe-052440af2ca02146889f8c063e6a34ec6b1f6881.tar.bz2 newspipe-052440af2ca02146889f8c063e6a34ec6b1f6881.zip |
various fixes in the JavaScript functions to mark an article as read/unread and faved/unfaved.
Diffstat (limited to 'newspipe/templates/article.html')
-rw-r--r-- | newspipe/templates/article.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newspipe/templates/article.html b/newspipe/templates/article.html index 00ec3bde..5eff64e7 100644 --- a/newspipe/templates/article.html +++ b/newspipe/templates/article.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %} -<div class="container" data-article="{{ article.id }}"> - <div class="row"> +<div class="container"> + <div class="row" data-article="{{ article.id }}" id="filters" data-filter="{{ filter_ }}"> <div class="col"> <h2><a href="{{ article.link }}" target="_blank">{{ article.title|safe }}</a></h2> <h3>{{ _('from') }} <a href="/feed/{{ article.source.id }}">{{ article.source.title }}</a></h3> @@ -12,9 +12,9 @@ <a href="#"><i class="fa fa-star-o like" aria-hidden="true" title="{{ _('Click if you like this article') }}"></i></a> {% endif %} {% if article.readed %} - <a href="#"><i class="fa fa-square-o readed" title="{{ _('Mark this article as unread') }}"></i></a> + <a href="#"><i class="fa fa-square-o readed-article-page" title="{{ _('Mark this article as unread') }}"></i></a> {% else %} - <a href="#"><i class="fa fa-check-square-o readed" aria-hidden="true" aria-hidden="true" title="{{ _('Mark this article as read') }}"></i></a> + <a href="#"><i class="fa fa-check-square-o readed-article-page" aria-hidden="true" aria-hidden="true" title="{{ _('Mark this article as read') }}"></i></a> {% endif %} <h6>{{ article.date | datetime }}</h6> </div> |