X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fbaggy%2Fhome.twig;h=03de6b9b74fddf65a43da762d894c7fdddcdb0da;hb=4bada2b9545fd83951803c604536c09dd5b649cd;hp=5dd91307748bd7c40a75908f540bcd808f90cee5;hpb=d967a1fa14237648fc63c44f6a28c9c077b3e1bc;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 5dd91307..03de6b9b 100755 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -25,7 +25,7 @@ {% block pager %} {% if nb_results > 1 %}
-
{{ nb_results }} {% trans "results" %}{% if search_term is defined %}{% trans " found for « " %} {{ search_term }} »{% endif %}
+
{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %}
{{ page_links | raw }}
{% elseif nb_results == 1 %} @@ -38,7 +38,7 @@ {% endblock %}
{% for entry in entries %} -
+

{{ entry.title|raw }}

{% if entry.content| getReadingTime > 0 %} @@ -56,7 +56,15 @@ {% endfor %}
- {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %} - {% endif %} {{ block('pager') }} + {% if view == 'home' %}{% if nb_results > 1 %}{% trans "Mark all the entries as read" %}{% endif %}{% endif %} + + {% if searchterm is defined %} +{% trans "Tag these results as" %} {{ searchterm }}{% 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 %} {% endblock %}