diff options
author | moparisthebest <admin@moparisthebest.com> | 2015-01-12 19:52:41 -0500 |
---|---|---|
committer | moparisthebest <admin@moparisthebest.com> | 2015-01-12 19:52:41 -0500 |
commit | 13c7f9a462b71e89d5e252b693fc7d00aca249ec (patch) | |
tree | eb85531a6bdd00495e4aab5f3493e34984a7dfbf /themes | |
parent | 512e5e5bd195ea4547dc7fa29f34a9d205bd7a54 (diff) | |
download | wallabag-13c7f9a462b71e89d5e252b693fc7d00aca249ec.tar.gz wallabag-13c7f9a462b71e89d5e252b693fc7d00aca249ec.tar.zst wallabag-13c7f9a462b71e89d5e252b693fc7d00aca249ec.zip |
Add ability to mark all articles from a tag as read
Diffstat (limited to 'themes')
-rwxr-xr-x | themes/baggy/home.twig | 2 | ||||
-rwxr-xr-x | themes/default/home.twig | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 9cd66395..93515080 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -62,6 +62,8 @@ | |||
62 | 62 | ||
63 | {% if searchterm is defined %}<a title="{% trans "Delete results matching" %} {{ searchterm }}" href="./?action=delete&search={{ searchterm }}">{% trans "Delete results matching" %} {{ searchterm }}</a>{% endif %}<br /> | 63 | {% if searchterm is defined %}<a title="{% trans "Delete results matching" %} {{ searchterm }}" href="./?action=delete&search={{ searchterm }}">{% trans "Delete results matching" %} {{ searchterm }}</a>{% endif %}<br /> |
64 | 64 | ||
65 | {% if tag %}<a title="{% trans "Mark all articles from this tag as read" %}" href="./?action=toggle_archive&tag_id={{ tag.id }}">{% trans "Mark all articles from this tag as read" %}</a><br />{% endif %} | ||
66 | |||
65 | {% if tag %} | 67 | {% if tag %} |
66 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} | 68 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} |
67 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&method=tag&value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} | 69 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&method=tag&value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} |
diff --git a/themes/default/home.twig b/themes/default/home.twig index 88e6a6ea..b9000559 100755 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -62,6 +62,8 @@ | |||
62 | 62 | ||
63 | {% if searchterm is defined %}<a title="{% trans "Delete results matching" %} {{ searchterm }}" href="./?action=delete&search={{ searchterm }}">{% trans "Delete results matching" %} {{ searchterm }}</a>{% endif %}<br /> | 63 | {% if searchterm is defined %}<a title="{% trans "Delete results matching" %} {{ searchterm }}" href="./?action=delete&search={{ searchterm }}">{% trans "Delete results matching" %} {{ searchterm }}</a>{% endif %}<br /> |
64 | 64 | ||
65 | {% if tag %}<a title="{% trans "Mark all articles from this tag as read" %}" href="./?action=toggle_archive&tag_id={{ tag.id }}">{% trans "Mark all articles from this tag as read" %}</a><br />{% endif %} | ||
66 | |||
65 | {% if tag %} | 67 | {% if tag %} |
66 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} | 68 | {% if constant('EPUB') == 1 %}<a title="{% trans "Download the articles from this tag in an epub file" %}" href="./?epub&method=tag&value={{ tag.value }}">{% trans "Download as ePub3" %}</a>{% endif %} |
67 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&method=tag&value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} | 69 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this tag in a mobi file" %}" href="./?mobi&method=tag&value={{ tag.value }}">{% trans "Download as Mobi" %}</a>{% endif %} |
@@ -75,6 +77,6 @@ | |||
75 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this category in a mobi file" %}" href="./?mobi&method=category&value={{ view }}">{% trans "Download as Mobi" %}</a>{% endif %} | 77 | {% if constant('MOBI') == 1 %}<a title="{% trans "Download the articles from this category in a mobi file" %}" href="./?mobi&method=category&value={{ view }}">{% trans "Download as Mobi" %}</a>{% endif %} |
76 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this category in a pdf file" %}" href="./?pdf&method=category&value={{ view }}">{% trans "Download as PDF" %}</a>{% endif %} | 78 | {% if constant('PDF') == 1 %}<a title="{% trans "Download the articles from this category in a pdf file" %}" href="./?pdf&method=category&value={{ view }}">{% trans "Download as PDF" %}</a>{% endif %} |
77 | {% endif %} | 79 | {% endif %} |
78 | 80 | ||
79 | {% endif %} | 81 | {% endif %} |
80 | {% endblock %} | 82 | {% endblock %} |