diff --git a/apps/school/templates/school/school.html b/apps/school/templates/school/school.html index f406f593..15ded766 100644 --- a/apps/school/templates/school/school.html +++ b/apps/school/templates/school/school.html @@ -1,7 +1,11 @@ {% extends "templates/lilcity/index.html" %} {% load static %} {% block content %} - {% include "../blocks/promo.html" %} - {% include "../blocks/about.html" %} - {% include "../blocks/advantages.html" %} - {% include "../blocks/online.html" %} - {% include "../blocks/schedule.html" %} +{% if not is_purchased %} +{% include "../blocks/promo.html" %} +{% include "../blocks/about.html" %} +{% include "../blocks/advantages.html" %} +{% include "../blocks/online.html" %} +{% include "../blocks/schedule.html" %} +{% else %} +{% include "../blocks/schedule_purchased.html" %} +{% endif %} {% endblock %}