Улучшение отображение контента, если урок еще не создан

remotes/origin/feature/effective_amount
nikita 8 years ago
parent 399a7ba53e
commit 9d3f86cede
  1. 4
      apps/school/templates/blocks/_schedule_purchased_item.html
  2. 4
      apps/school/templates/summer/_schedule_purchased_item.html

@ -36,12 +36,12 @@
</div> </div>
</div> </div>
<div class="timing__cell"> <div class="timing__cell">
<div class="timing__title">{{ school_schedule.title }}{% if live_lesson %}, <div class="timing__title">{{ school_schedule.title }}{% if live_lesson and live_lesson.title %},
<span class="bold">{{ live_lesson.title }}</span> <span class="bold">{{ live_lesson.title }}</span>
{% endif %} {% endif %}
</div> </div>
<div class="timing__content"> <div class="timing__content">
{% if live_lesson %} {% if live_lesson and live_lesson.short_description %}
{{ live_lesson.short_description }} {{ live_lesson.short_description }}
{% else %} {% else %}
{{ school_schedule.description }} {{ school_schedule.description }}

@ -36,12 +36,12 @@
</div> </div>
</div> </div>
<div class="timing__cell"> <div class="timing__cell">
<div class="timing__title">{{ school_schedule.title }}{% if live_lesson %}, <div class="timing__title">{{ school_schedule.title }}{% if live_lesson and live_lesson.title %},
<span class="bold">{{ live_lesson.title }}</span> <span class="bold">{{ live_lesson.title }}</span>
{% endif %} {% endif %}
</div> </div>
<div class="timing__content"> <div class="timing__content">
{% if live_lesson %} {% if live_lesson and live_lesson.short_description %}
{{ live_lesson.short_description }} {{ live_lesson.short_description }}
{% else %} {% else %}
{{ school_schedule.description }} {{ school_schedule.description }}

Loading…
Cancel
Save