diff options
author | tcit <tcit@tcit.fr> | 2014-05-16 16:31:18 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-05-16 16:31:18 +0200 |
commit | 404adf970d985da0f624c42a5aa5e9c63694b08d (patch) | |
tree | ab298f6d6687dcef7494d7bd938dcdaac80a48fc /themes/default/home.twig | |
parent | 74e09e562ba46c52da364539aa4fc0414114ca87 (diff) | |
parent | f3f0b11393dd7f11bc1e63df9488c3930c0bc06f (diff) | |
download | wallabag-404adf970d985da0f624c42a5aa5e9c63694b08d.tar.gz wallabag-404adf970d985da0f624c42a5aa5e9c63694b08d.tar.zst wallabag-404adf970d985da0f624c42a5aa5e9c63694b08d.zip |
Merge branch 'epub' into dev
Conflicts:
themes/baggy/home.twig
Diffstat (limited to 'themes/default/home.twig')
-rwxr-xr-x | themes/default/home.twig | 9 |
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&method=tag&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&method=search&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&method=category&category={{ view }}">{% trans "Download the articles from this category in an epub" %}</a>{% endif %} | ||
66 | |||
67 | {% endif %} | ||
61 | {% endblock %} | 68 | {% endblock %} |