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.
73 lines
2.9 KiB
73 lines
2.9 KiB
{% extends 'base_catalog.html' %}
|
|
{% load static %}
|
|
{% load i18n %}
|
|
|
|
{% block bread_scrumbs %}
|
|
<div class="bread-crumbs">
|
|
<a href="/">{% trans 'Главная страница' %}</a>
|
|
<a href="/blogs/">{% trans 'Статьи' %}</a>
|
|
<strong>{{ object.main_title }}</strong>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block page_title %}
|
|
{% endblock %}
|
|
|
|
{% block content_list %}
|
|
<div class="m-article cl-news blog_block">
|
|
<div class="blog_block_headline">
|
|
|
|
{% include 'client/includes/article/article_logo.html' with obj=object %}
|
|
<h1>{{ object.main_title }}</h1>
|
|
<strong><span>{{ object.created|date:"d E Y" }}</span><a class="profile_link" href="{{ object.author.get_permanent_url }}" title="">{{ object.author.get_full_name }}</a></strong>
|
|
<p style="text-align: justify" align="justify"> </p><hr>
|
|
<div class="content-text">
|
|
{{ object.description|safe }}
|
|
</div>
|
|
|
|
<div class="blog_avtor">
|
|
<table>
|
|
<tr>
|
|
<th>{% trans 'Автор' %}:</th>
|
|
<td><a href="{{ object.author.get_permanent_url }}" title="">{% include 'includes/show_logo.html' with obj=object.author %}</a></td>
|
|
<td>
|
|
<h3><a href="{{ object.author.get_permanent_url }}" title="">{{ object.author.get_full_name }}</a></h3>
|
|
{% if object.author.profile.fb %}
|
|
<a href="{{ object.author.profile.fb }}" title="" class="facebook">{{ object.author.get_full_name }}</a>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{% if object.tag.all.exists %}
|
|
<div class="blog_avtor_right">
|
|
{% include 'includes/article_tags.html' with obj=object %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
{% with blogs=object.similars %}
|
|
{% if blogs %}
|
|
<div class="rq-to-hide">
|
|
<div class="s-comments">
|
|
<div class="sect-title blog_link">{% trans 'Похожие статьи' %}<a class="button more" href="/blogs/">{% trans 'Все статьи' %}</a></div>
|
|
<div class="cat-list sc-comments">
|
|
{% for blog in blogs %}
|
|
<div class="cl-item">
|
|
<div class="acticle_list">
|
|
<a href="{{ blog.get_permanent_url }}" title="">{% include 'includes/show_logo.html' with obj=blog %}</a>
|
|
<h3><a href="{{ blog.get_permanent_url }}" title="">{{ blog.main_title }}</a></h3>
|
|
<p>{{ blog.preview }}</p>
|
|
<strong><span>{{ blog.created|date:"d E Y" }}</span><a href="{{ blog.author.get_permanent_url }}" title=""><i>Евгения Булавина</i></a></strong>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% endblock %} |