diff options
author | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-04-02 22:33:06 +0300 |
---|---|---|
committer | Maryana Rozhankivska <mariroz@mr.lviv.ua> | 2014-04-02 22:33:06 +0300 |
commit | a4585f7eaa74d5f705c1622ac2419ea1198a7aba (patch) | |
tree | e379b18cbd353a361e27696e222f178dfe257fa6 /themes/default/home.twig | |
parent | 182faf2696b38502d4784efc3f84f2f00290343f (diff) | |
parent | d967a1fa14237648fc63c44f6a28c9c077b3e1bc (diff) | |
download | wallabag-a4585f7eaa74d5f705c1622ac2419ea1198a7aba.tar.gz wallabag-a4585f7eaa74d5f705c1622ac2419ea1198a7aba.tar.zst wallabag-a4585f7eaa74d5f705c1622ac2419ea1198a7aba.zip |
import without cron
Diffstat (limited to 'themes/default/home.twig')
-rwxr-xr-x | themes/default/home.twig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/default/home.twig b/themes/default/home.twig index e06d65ab..d6cb98e8 100755 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -31,9 +31,15 @@ | |||
31 | {% block pager %} | 31 | {% block pager %} |
32 | {% if nb_results > 1 %} | 32 | {% if nb_results > 1 %} |
33 | <div class="results"> | 33 | <div class="results"> |
34 | <div class="nb-results">{{ nb_results }} {% trans "results" %}</div> | 34 | <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %}{% trans " found for « " %} {{ search_term }} »{% endif %}</div> |
35 | {{ page_links | raw }} | 35 | {{ page_links | raw }} |
36 | </div> | 36 | </div> |
37 | {% elseif nb_results == 1 %} | ||
38 | {% if search_term is defined %} | ||
39 | <div class="results"> | ||
40 | <div class="nb-results">{% trans "Only one result found for " %} « {{ search_term }} »</div> | ||
41 | </div> | ||
42 | {% endif %} | ||
37 | {% endif %} | 43 | {% endif %} |
38 | {% endblock %} | 44 | {% endblock %} |
39 | {% for entry in entries %} | 45 | {% for entry in entries %} |