From 032e0ca13ab8ebf99b5169f6f733db4184cdde6c Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Thu, 20 Feb 2014 19:28:39 +0200 Subject: a lot of refactoring: tag action is now handled by home view and uses sorting and pagination. Some small view enhacenments. Fix of #476, #461 for baggy and other themes --- themes/baggy/home.twig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'themes/baggy/home.twig') diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig index 33afdbbd..4f9db063 100644 --- a/themes/baggy/home.twig +++ b/themes/baggy/home.twig @@ -12,6 +12,9 @@ {% include '_menu.twig' %} {% endblock %} {% block content %} + {% if tag %} +

{% trans "Tag" %}: {{ tag.value }}

+ {% endif %} {% if entries is empty %}

{% trans "No articles found." %}

{% else %} @@ -40,7 +43,7 @@

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

- + {% endfor %} {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %} -- cgit v1.2.3