From d941cf7b45b38a33c09f8e5975fea5d5b9e2efd9 Mon Sep 17 00:00:00 2001 From: pavel Date: Tue, 21 Apr 2015 09:54:00 +0000 Subject: [PATCH] EXPO-25 article/blog_list.html --- templates/client/article/blog_list.html | 85 +++++++++++-------------- 1 file changed, 38 insertions(+), 47 deletions(-) diff --git a/templates/client/article/blog_list.html b/templates/client/article/blog_list.html index e7f3ffd8..8e53acbe 100644 --- a/templates/client/article/blog_list.html +++ b/templates/client/article/blog_list.html @@ -3,68 +3,61 @@ {% load thumbnail %} {% 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.theme }}
-
-
- - +
+
- {{ article_filter_form.tag }} + {{ article_filter_form.tag }}
- - -
-
-
- +
+
+
+
-
-
- {% for blog in object_list %} -
-
- {% include 'includes/article/article_preview.html' with obj=blog %} - -

{{ blog.main_title }}

- {{ blog.preview|safe }} - {{ blog.created|date:"d E Y" }}{% if blog.tag.all.exists %}{% include 'includes/article_tags.html' with obj=blog %}{% endif %} -
-
- {% endfor %} -
-
+
+
+ {% for blog in object_list %} +
+
+ {% include 'includes/article/article_preview.html' with obj=blog %} +

{{ blog.main_title }}

+ {{ blog.preview|safe }} + {{ blog.created|date:"d E Y" }}{% if blog.tag.all.exists %}{% include 'includes/article_tags.html' with obj=blog %}{% endif %} +
+
+ {% 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 %} \ No newline at end of file