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.
 
 
 
 
 
 

40 lines
1.3 KiB

{% load menu_tags aldryn_people_tags cms_tags i18n thumbnail %}
{% show_breadcrumb 2 %}
<script type="text/javascript">
var consultation = {
name: '{{ person.name }}'
};
</script>
<div class="plugin-people people-detail row">
<div class="people-detail-visual">
{% if person.visual %}
<img src="{% thumbnail person.visual.url 530x800 crop %}" alt="{{ person.name }}" />
{% endif %}
</div>
<div class="people-detail-description">
<h1>{{ person.name }}</h1>
<h4><em>{{ person.function }}</em></h4>
{% if person.id != 1 %}
{% static_placeholder 'person-consultation' %}
{% endif %}
{% if person.description %}<div class="people-desc">{{ person.description|safe }}</div>{% endif %}
{% if person.blog_post_author.all|length > 0 %}
{% spaceless %}
<h2>Статьи</h2>
<ul class="articles list-unstyled">
{% for article in person.blog_post_author.all %}
{{ article }}
<li><a href="{{ article.get_absolute_url }}">{{ article.title }}</a>
&nbsp;<small class="date">{{ article.date_published|date:"DATE_FORMAT" }}</small></li>
{% endfor %}
</ul>
{% endspaceless %}
{% endif %}
</div>
</div>