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.9 KiB

{% extends 'base_catalog.html' %}
{% 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="cat-list sc-comments">
{% for news in object_list %}
<div class="cl-item">
<div class="acticle_list">
<a href="{{ news.get_permanent_url }}" title="">
{% include 'includes/article/news_preview.html' with obj=news %}</a>
<h3><a href="{{ news.get_permanent_url }}" title="">{{ news.main_title }}</a></h3>
{{ news.preview }}
<strong><span>{{ news.created|date:"d E Y" }}</span>{% with event=news.get_event %}{% if event %}<a href="{{ event.get_permanent_url }}" title=""><b>{{ event.name }}</b></a>{% endif %}{% endwith %}</strong>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}
{% block paginator %}
{% include 'includes/catalog_paginator.html' with page_obj=page_obj %}
{% endblock %}