aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/home.twig
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-05-15 15:42:36 +0200
committertcit <tcit@tcit.fr>2014-05-15 15:42:36 +0200
commitf3f0b11393dd7f11bc1e63df9488c3930c0bc06f (patch)
tree0ee0ee830ec195dba8c4d362ad6e50a9ea27be08 /themes/default/home.twig
parentf2b6b4e23064c40cde9e2ad5327499589dee503b (diff)
downloadwallabag-f3f0b11393dd7f11bc1e63df9488c3930c0bc06f.tar.gz
wallabag-f3f0b11393dd7f11bc1e63df9488c3930c0bc06f.tar.zst
wallabag-f3f0b11393dd7f11bc1e63df9488c3930c0bc06f.zip
Better names for epub files and epub in all themes now
Diffstat (limited to 'themes/default/home.twig')
-rwxr-xr-xthemes/default/home.twig9
1 files changed, 8 insertions, 1 deletions
diff --git a/themes/default/home.twig b/themes/default/home.twig
index d6cb98e8..e6c781f5 100755
--- a/themes/default/home.twig
+++ b/themes/default/home.twig
@@ -55,7 +55,14 @@
55 <p>{{ entry.content|striptags|slice(0, 300) }}...</p> 55 <p>{{ entry.content|striptags|slice(0, 300) }}...</p>
56 </div> 56 </div>
57 {% endfor %} 57 {% endfor %}
58 {% endif %} 58
59 {{ block('pager') }} 59 {{ block('pager') }}
60
60 {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "mark all the entries as read" %}" href="./?action=archive_all">{% trans "mark all the entries as read" %}</a>{% endif %}{% endif %} 61 {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "mark all the entries as read" %}" href="./?action=archive_all">{% trans "mark all the entries as read" %}</a>{% endif %}{% endif %}
62
63 {% if tag %}<a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&amp;method=tag&amp;tag={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</a>
64 {% elseif search_term is defined %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&amp;method=search&amp;search={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</a>
65 {% else %}<a title="{% trans "Download the articles from this category in an epub" %}" href="./?epub&amp;method=category&amp;category={{ view }}">{% trans "Download the articles from this category in an epub" %}</a>{% endif %}
66
67 {% endif %}
61{% endblock %} 68{% endblock %}