aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/home.twig
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/home.twig')
-rw-r--r--tpl/home.twig11
1 files changed, 9 insertions, 2 deletions
diff --git a/tpl/home.twig b/tpl/home.twig
index f44e040e..771c36c5 100644
--- a/tpl/home.twig
+++ b/tpl/home.twig
@@ -20,10 +20,17 @@
20 {% endif %} 20 {% endif %}
21{% endblock %} 21{% endblock %}
22{% block content %} 22{% block content %}
23 {{ page_links | raw }}
24 {% if entries is empty %} 23 {% if entries is empty %}
25 <div class="messages warning"><p>{% trans "No link available here!" %}</p></div> 24 <div class="messages warning"><p>{% trans "No link available here!" %}</p></div>
26 {% else %} 25 {% else %}
26 {% block pager %}
27 {% if nb_results > 1 %}
28 <div class="results">
29 <div class="nb-results">{{ nb_results }} {% trans "results" %}</div>
30 {{ page_links | raw }}
31 </div>
32 {% endif %}
33 {% endblock %}
27 {% for entry in entries %} 34 {% for entry in entries %}
28 <div id="entry-{{ entry.id|e }}" class="entrie"> 35 <div id="entry-{{ entry.id|e }}" class="entrie">
29 <h2><a href="index.php?view=view&amp;id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> 36 <h2><a href="index.php?view=view&amp;id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2>
@@ -38,5 +45,5 @@
38 </div> 45 </div>
39 {% endfor %} 46 {% endfor %}
40 {% endif %} 47 {% endif %}
41 {{ page_links | raw }} 48 {{ block('pager') }}
42{% endblock %} \ No newline at end of file 49{% endblock %} \ No newline at end of file