aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/home.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-12-07 23:36:35 +0100
committerThomas Citharel <tcit@tcit.fr>2014-12-07 23:36:35 +0100
commit311baf86befde0557faea614ca4d13bb2bd2cc66 (patch)
treedca9d7d429680db23cd4256a1c388ed3db4049ca /themes/default/home.twig
parent9c55ed0923273da886497cb62302a79622e34a74 (diff)
downloadwallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.tar.gz
wallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.tar.zst
wallabag-311baf86befde0557faea614ca4d13bb2bd2cc66.zip
implemented random button
Diffstat (limited to 'themes/default/home.twig')
-rwxr-xr-xthemes/default/home.twig3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/home.twig b/themes/default/home.twig
index 6bc549e6..aa332600 100755
--- a/themes/default/home.twig
+++ b/themes/default/home.twig
@@ -31,7 +31,8 @@
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" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}</div> 34 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
35 <a class="random" href="?view=view&id={{ random }}"><span>{% trans "random" %}</span></a></div>
35 {{ page_links | raw }} 36 {{ page_links | raw }}
36 </div> 37 </div>
37 {% elseif nb_results == 1 %} 38 {% elseif nb_results == 1 %}