X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=themes%2Fcourgette%2Fhome.twig;h=6ba72d353576175a2b781b21c8f284b23a44a2bd;hb=72a857158c187206dae2eed08143d5743322cb0c;hp=1367ebe833736ae15c3d17b1556a3d0ff3cdb4c8;hpb=38dafee05d52948fba4a06066d7b0343c8e3de9d;p=github%2Fwallabag%2Fwallabag.git diff --git a/themes/courgette/home.twig b/themes/courgette/home.twig index 1367ebe8..6ba72d35 100755 --- a/themes/courgette/home.twig +++ b/themes/courgette/home.twig @@ -14,8 +14,8 @@ {% block precontent %} {% if entries|length > 1 %} {% endif %} {% endblock %} @@ -26,9 +26,15 @@ {% block pager %} {% if nb_results > 1 %}
-
{{ nb_results }} {% trans "results" %}
+
{{ nb_results }} {% trans "results" %}{% if search_term is defined %}{% trans " found for « " %} {{ search_term }} »{% endif %}
{{ page_links | raw }}
+ {% elseif nb_results == 1 %} + {% if search_term is defined %} +
+
{% trans "Only one result found for " %} « {{ search_term }} »
+
+ {% endif %} {% endif %} {% endblock %} {% for entry in entries %}