fix: clickable course cards from profile page

This commit is contained in:
pateljannat
2021-10-08 20:28:06 +05:30
parent f178f3806d
commit cdc4b6992d

View File

@@ -63,7 +63,9 @@
</span>
</div>
{% if not read_only %}
{% if read_only %}
<a class="stretched-link" href="/courses/{{ course.name }}"></a>
{% else %}
{% set lesson_index = course.get_lesson_index(membership.current_lesson) if membership and
membership.current_lesson else '1.1' %}