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 f51c34f2..db4e0888 100644
--- a/tpl/home.twig
+++ b/tpl/home.twig
@@ -18,10 +18,17 @@
18 </ul> 18 </ul>
19{% endblock %} 19{% endblock %}
20{% block content %} 20{% block content %}
21 {{ page_links | raw }}
22 {% if entries is empty %} 21 {% if entries is empty %}
23 <div class="messages warning"><p>{% trans "No link available here!" %}</p></div> 22 <div class="messages warning"><p>{% trans "No link available here!" %}</p></div>
24 {% else %} 23 {% else %}
24 {% block pager %}
25 {% if nb_results > 1 %}
26 <div class="results">
27 <div class="nb-results">{{ nb_results }} {% trans "results" %}</div>
28 {{ page_links | raw }}
29 </div>
30 {% endif %}
31 {% endblock %}
25 {% for entry in entries %} 32 {% for entry in entries %}
26 <div id="entry-{{ entry.id|e }}" class="entrie"> 33 <div id="entry-{{ entry.id|e }}" class="entrie">
27 <h2><a href="index.php?view=view&amp;id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> 34 <h2><a href="index.php?view=view&amp;id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2>
@@ -36,5 +43,5 @@
36 </div> 43 </div>
37 {% endfor %} 44 {% endfor %}
38 {% endif %} 45 {% endif %}
39 {{ page_links | raw }} 46 {{ block('pager') }}
40{% endblock %} \ No newline at end of file 47{% endblock %} \ No newline at end of file