From 163eae0bb15d0daa5390f434a42a8176eca186e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 23 Jan 2015 12:45:24 +0100 Subject: toggle archive / fav actions --- .../Resources/views/Entry/entries.html.twig | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'src/WallabagBundle/Resources/views/Entry/entries.html.twig') diff --git a/src/WallabagBundle/Resources/views/Entry/entries.html.twig b/src/WallabagBundle/Resources/views/Entry/entries.html.twig index 81177298..de343aa2 100644 --- a/src/WallabagBundle/Resources/views/Entry/entries.html.twig +++ b/src/WallabagBundle/Resources/views/Entry/entries.html.twig @@ -7,6 +7,20 @@ {% endblock %} {% block content %} + {% block pager %} + {% if entries is not empty %} +
+
{{ entries.count }} {% trans %}entries{% endtrans %}
+ +
+ {% endif %} + {% endblock %} {% if entries is empty %}

{% trans %}No articles found.{% endtrans %}

@@ -21,9 +35,9 @@ {% endif %}

{{ entry.content|striptags|slice(0, 300) }}...

-- cgit v1.2.3