Highlight today on purchase button click

remotes/origin/hotfix/LIL-661
nikita 7 years ago
parent b66cb07f0d
commit ded9e584fe
  1. 3
      project/templates/blocks/promo.html

@ -19,6 +19,7 @@
<a
{% if not school_schedule.weekday in school_schedules_purchased %}
data-popup=".js-popup-buy"
data-day="{{ school_schedule.weekday }}"
href='#'
{% else %}
href="{{ school_schedule.current_live_lesson.get_absolute_url }}"
@ -37,6 +38,7 @@
<a
{% if not school_schedule.weekday in school_schedules_purchased %}
data-popup=".js-popup-buy"
data-day="{{ school_schedule.weekday }}"
href='#'
{% else %}
href="{{ school_schedule.current_live_lesson.get_absolute_url }}"
@ -52,7 +54,6 @@
{% if not is_purchased and not is_purchased_future %}
<a
data-popup=".js-popup-buy"
data-day="{{ school_schedule.weekday }}"
class="main__btn btn"
href="#"
>

Loading…
Cancel
Save