|
|
|
|
@ -62,22 +62,22 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
{% if not guest %} |
|
|
|
|
<div class="section section_pink-light section_tabs"> |
|
|
|
|
<div class="section__center center"> |
|
|
|
|
<div class="tabs js-tabs"> |
|
|
|
|
<div class="tabs__nav"> |
|
|
|
|
{% if owner %} |
|
|
|
|
<button class="tabs__btn js-tabs-btn active">ЛАГЕРЬ</button> |
|
|
|
|
<button class="tabs__btn js-tabs-btn">ПРИОБРЕТЕННЫЕ |
|
|
|
|
<span class="mobile-hide">КУРСЫ</span> |
|
|
|
|
</button> |
|
|
|
|
{% if not simple_user %} |
|
|
|
|
<button class="tabs__btn js-tabs-btn">ОПУБЛИКОВАННЫЕ |
|
|
|
|
{% endif %} |
|
|
|
|
<button class="tabs__btn js-tabs-btn {% if not owner %}active{% endif %}">ОПУБЛИКОВАННЫЕ |
|
|
|
|
<span class="mobile-hide">КУРСЫ</span> |
|
|
|
|
</button> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<div class="tabs__container"> |
|
|
|
|
{% if owner %} |
|
|
|
|
<div class="tabs__item js-tabs-item" style="display: block;"> |
|
|
|
|
{% if is_purchased_future %} |
|
|
|
|
<div class="center center_xs"> |
|
|
|
|
@ -126,8 +126,8 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% if not simple_user %} |
|
|
|
|
<div class="tabs__item js-tabs-item"> |
|
|
|
|
{% endif %} |
|
|
|
|
<div class="tabs__item js-tabs-item" {% if not owner %}style="display: block;"{% endif %}> |
|
|
|
|
<div class="courses courses_scroll"> |
|
|
|
|
<div class="courses__list"> |
|
|
|
|
{% if published.exists %} |
|
|
|
|
@ -145,10 +145,8 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endblock content %} |
|
|
|
|
|