fix: clickable course cards from profile page
This commit is contained in:
@@ -63,7 +63,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</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
|
{% set lesson_index = course.get_lesson_index(membership.current_lesson) if membership and
|
||||||
membership.current_lesson else '1.1' %}
|
membership.current_lesson else '1.1' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user