From 7ec445b06e05d8caa5219c5802007d897c48ab4e Mon Sep 17 00:00:00 2001 From: tcit Date: Fri, 25 Apr 2014 16:20:25 +0200 Subject: Big changes for epub export. Now possible to do it from a tag, a category and a search. Also, improved ebook rendering. --- themes/baggy/home.twig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'themes/baggy/home.twig') 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 @@ {% endfor %} {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %} + + {% if tag %}{% trans "Download the articles from this tag in an epub" %} + {% elseif search_term is defined %}{% trans "Download the articles from this search in an epub" %} + {% else %}{% trans "Download the articles from this category in an epub" %}{% endif %} + {% endif %} {{ block('pager') }} {% endblock %} -- cgit v1.2.3 From 2395a3802a821667b1bdd84a848d193d0d27ad2a Mon Sep 17 00:00:00 2001 From: tcit Date: Tue, 29 Apr 2014 19:57:59 +0200 Subject: Changed template organisation --- themes/baggy/home.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/baggy/home.twig') diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 301f353a..ef2e097c 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -56,6 +56,7 @@ {% endfor %} + {{ block('pager') }} {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %} {% if tag %}{% trans "Download the articles from this tag in an epub" %} @@ -63,5 +64,4 @@ {% else %}{% trans "Download the articles from this category in an epub" %}{% endif %} {% endif %} - {{ block('pager') }} {% endblock %} -- cgit v1.2.3