parent
0603352001
commit
3a8d2024ef
4 changed files with 61 additions and 17 deletions
@ -0,0 +1,27 @@ |
|||||||
|
{% extends "templates/lilcity/index.html" %} |
||||||
|
{% load static %} |
||||||
|
{% block title %}{{ livelesson.title }} - {{ block.super }}{% endblock title %} |
||||||
|
|
||||||
|
{% block twurl %}{{ request.build_absolute_uri }}{% endblock twurl %} |
||||||
|
{% block ogtitle %}{{ livelesson.title }} - {{ block.super }}{% endblock ogtitle %} |
||||||
|
{% block ogurl %}{{ request.build_absolute_uri }}{% endblock ogurl %} |
||||||
|
{% block ogimage %} |
||||||
|
{% if livelesson.cover and livelesson.cover.image %}http://{{request.META.HTTP_HOST}}{{ livelesson.cover.image.url }}{% else %}{{ block.super }}{% endif %} |
||||||
|
{% endblock ogimage %} |
||||||
|
{% block ogimage-width %} |
||||||
|
{% if livelesson.cover and livelesson.cover.image %}{{ livelesson.cover.image.width }}{% else %}{{ block.super }}{% endif %} |
||||||
|
{% endblock ogimage-width %} |
||||||
|
{% block ogimage-height %} |
||||||
|
{% if livelesson.cover and livelesson.cover.image %}{{ livelesson.cover.image.height }}{% else %}{{ block.super }}{% endif %} |
||||||
|
{% endblock ogimage-height %} |
||||||
|
|
||||||
|
{% block content %} |
||||||
|
<div class="section"> |
||||||
|
<div class="section__center center center_sm"> |
||||||
|
<div class="title"> |
||||||
|
Чтобы посмотреть урок необходимо авторизоваться |
||||||
|
</div> |
||||||
|
<button class="btn" data-popup=".js-popup-auth">Войти</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{% endblock content %} |
||||||
Loading…
Reference in new issue