diff options
author | tcit <tcit@tcit.fr> | 2014-04-25 16:20:25 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-04-25 16:20:25 +0200 |
commit | 7ec445b06e05d8caa5219c5802007d897c48ab4e (patch) | |
tree | ebd94986e35dd01b4b6d94dbce590e585f179e2c /themes/baggy/home.twig | |
parent | 72a857158c187206dae2eed08143d5743322cb0c (diff) | |
download | wallabag-7ec445b06e05d8caa5219c5802007d897c48ab4e.tar.gz wallabag-7ec445b06e05d8caa5219c5802007d897c48ab4e.tar.zst wallabag-7ec445b06e05d8caa5219c5802007d897c48ab4e.zip |
Big changes for epub export. Now possible to do it from a tag, a category and a search. Also, improved ebook rendering.
Diffstat (limited to 'themes/baggy/home.twig')
-rwxr-xr-x | themes/baggy/home.twig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 5dd91307..301f353a 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig | |||
@@ -57,6 +57,11 @@ | |||
57 | {% endfor %} | 57 | {% endfor %} |
58 | </div> | 58 | </div> |
59 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %} | 59 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %} |
60 | |||
61 | {% if tag %}<a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&method=tag&tag={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</a> | ||
62 | {% elseif search_term is defined %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&method=search&search={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</a> | ||
63 | {% else %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&method=category&category={{ view }}">{% trans "Download the articles from this category in an epub" %}</a>{% endif %} | ||
64 | |||
60 | {% endif %} | 65 | {% endif %} |
61 | {{ block('pager') }} | 66 | {{ block('pager') }} |
62 | {% endblock %} | 67 | {% endblock %} |