|
|
|
@ -12,7 +12,7 @@ |
|
|
|
{{ contest.description }} |
|
|
|
{{ contest.description }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="main__actions"> |
|
|
|
<div class="main__actions"> |
|
|
|
{% if not contest_work_uploaded %} |
|
|
|
{% if not contest_work_uploaded and not contest.finished %} |
|
|
|
<a class="main__btn btn" href="" |
|
|
|
<a class="main__btn btn" href="" |
|
|
|
{% if request.user.is_authenticated %}data-show-upload-contest-work |
|
|
|
{% if request.user.is_authenticated %}data-show-upload-contest-work |
|
|
|
{% else %}data-popup=".js-popup-auth"{% endif %}>Загрузить свою работу</a> |
|
|
|
{% else %}data-popup=".js-popup-auth"{% endif %}>Загрузить свою работу</a> |
|
|
|
@ -34,7 +34,7 @@ |
|
|
|
<div class="title title_center">Галерея</div> |
|
|
|
<div class="title title_center">Галерея</div> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="text"> |
|
|
|
<div class="text"> |
|
|
|
{% if not contest_work_uploaded %} |
|
|
|
{% if not contest_work_uploaded and not contest.finished %} |
|
|
|
<a class="btn" href="" |
|
|
|
<a class="btn" href="" |
|
|
|
{% if request.user.is_authenticated %}data-show-upload-contest-work |
|
|
|
{% if request.user.is_authenticated %}data-show-upload-contest-work |
|
|
|
{% else %}data-popup=".js-popup-auth"{% endif %}>Загрузить свою работу</a> |
|
|
|
{% else %}data-popup=".js-popup-auth"{% endif %}>Загрузить свою работу</a> |
|
|
|
|