From aa9ef4b2515e5052072a15763565c75ec5b64456 Mon Sep 17 00:00:00 2001 From: pavel Date: Tue, 21 Apr 2015 09:56:12 +0000 Subject: [PATCH] EXPO-25 article/news_list.html:49 --- templates/client/article/news_list.html | 80 +++++++++++-------------- 1 file changed, 36 insertions(+), 44 deletions(-) diff --git a/templates/client/article/news_list.html b/templates/client/article/news_list.html index 1b73770b..8679e5f9 100644 --- a/templates/client/article/news_list.html +++ b/templates/client/article/news_list.html @@ -2,67 +2,60 @@ {% load static %} {% load i18n %} {% load template_filters %} - {% block bread_scrumbs %} - {% endblock %} - {% block page_title %} -
-

{% trans 'Новости' %}:

-
+
+

{% trans 'Новости' %}:

+
{% endblock %} - {% block content_list %}
- -
-
- -
-
- + +
+
+
+
{{ article_filter_form.theme }}
-
- -
- +
+
+
{{ article_filter_form.tag }}
- - -
-
- -
- +
+
+
+
-
- {% for news in object_list %} -
-
- - {% include 'includes/article/news_preview.html' with obj=news %} -

{{ news.main_title }}

- {{ news.preview }} - {{ news.created|date:"d E Y" }}{% with event=news.get_event %}{% if event %}{{ event.name }}{% endif %}{% endwith %} -
-
- {% endfor %} -
+
+ {% for news in object_list %} +
+
+ + {% include 'includes/article/news_preview.html' with obj=news %} +

{{ news.main_title }}

+ {{ news.preview }} + {{ news.created|date:"d E Y" }}{% with event=news.get_event %}{% if event %}{{ event.name }}{% endif %}{% endwith %} +
+
+ {% endfor %} +
- - +{% if request.GET.debug == '1' %} + +{% else %} + +{% endif %} {% endblock %} - {% block paginator %} - {% include 'includes/catalog_paginator.html' with page_obj=page_obj %} + {% include 'includes/catalog_paginator.html' with page_obj=page_obj %} {% endblock %}