You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
1.8 KiB

{% extends 'base_catalog.html' %}
{% load thumbnail %}
{% load i18n %}
{% load template_filters %}
{% block bread_scrumbs %}
<div class="bread-crumbs">
<a href="/">{% trans 'Главная страница' %}</a>
<strong>{% trans 'Статьи' %}</strong>
</div>
{% endblock %}
{% block page_title %}
<div class="page-title">
<h1>{% trans 'Статьи' %}</h1>
</div>
{% endblock %}
{% block content_list %}
<div class="set-sect p-form adm-form">
<form action="#">
<div class="adm-form-body">
<div class="mf-line mf-line1 s-subj-tag">
<div class="mf-field">
<label>{{ article_filter_form.theme.label }}</label>
{{ article_filter_form.theme }}
</div>
<div class="mf-field">
<label>{{ article_filter_form.tag.label }}</label>
{{ article_filter_form.tag.label }}
</div>
</div>
</div>
</form>
</div>
<div class="rq-to-hide">
<div class="s-comments">
<div class="cat-list sc-comments">
{% for blog in object_list %}
<div class="cl-item">
<div class="acticle_list_big">
{% include 'includes/article/article_preview.html' with obj=blog %}
<h3><a href="{{ blog.get_permanent_url }}" title="">{{ blog.main_title }}</a></h3>
{{ blog.preview }}
<strong><span>{{ blog.created|date:"d E Y" }}</span>{% if blog.tag.all.exists %}{% include 'includes/article_tags.html' with obj=blog %}{% endif %}</strong>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endblock %}
{% block paginator %}
{% include 'includes/catalog_paginator.html' with page_obj=page_obj %}
{% endblock %}