feat: notify me

This commit is contained in:
pateljannat
2021-08-09 13:13:48 +05:30
parent d5067a4bcd
commit 6cbca8d1bb
12 changed files with 196 additions and 7 deletions

View File

@@ -58,6 +58,12 @@
Continue Learning <img class="ml-2" src="/assets/community/icons/white-arrow.svg" />
</a>
{% endif %}
{% if course.upcoming %}
<button class="button wide-button is-default" id="notify-me" data-course="{{course.name | urlencode}}"
{% if is_user_interested %} disabled="disabled" title="Your interest has already been noted." {% endif %} >
Notify me when available
</button>
{% endif %}
{% if course.video_link %}
<div class="button wide-button is-secondary video-preview">
Watch Video Preview