|
|
|
|
@ -9,22 +9,22 @@ |
|
|
|
|
<img class="text__curve text__curve_three" src="{% static 'img/curve-3.svg' %}"> |
|
|
|
|
</div> |
|
|
|
|
<div class="teachers"> |
|
|
|
|
{% for author in authors %} |
|
|
|
|
{% for teacher in teachers %} |
|
|
|
|
<div class="teachers__item"> |
|
|
|
|
<div class="teachers__ava ava"> |
|
|
|
|
{% if author.photo %} |
|
|
|
|
<img class="ava__pic" src="{{ author.photo.url }}"> {% else %} |
|
|
|
|
{% if teacher.photo %} |
|
|
|
|
<img class="ava__pic" src="{{ teacher.photo.url }}"> {% else %} |
|
|
|
|
<img class="ava__pic" src="{% static 'img/user.jpg' %}"> {% endif %} |
|
|
|
|
</div> |
|
|
|
|
<div class="teachers__wrap"> |
|
|
|
|
<div class="teachers__title">{{ author.get_full_name }}, |
|
|
|
|
<div class="teachers__title">{{ teacher.get_full_name }}, |
|
|
|
|
<a href='#'>#lil_персонаж</a> |
|
|
|
|
</div> |
|
|
|
|
{% if author.instagram %} |
|
|
|
|
<div class="teachers__name">{{ author.instagram }}</div> |
|
|
|
|
{% endif %} {% if author.about %} |
|
|
|
|
{% if teacher.instagram %} |
|
|
|
|
<div class="teachers__name">{{ teacher.instagram }}</div> |
|
|
|
|
{% endif %} {% if teacher.about %} |
|
|
|
|
<div class="teachers__content"> |
|
|
|
|
{{ author.about }} |
|
|
|
|
{{ teacher.about }} |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |