medisoft customizations

This commit is contained in:
Norm Rasmussen
2022-05-25 22:12:56 -04:00
parent 8ac64aeecd
commit 9ea7bad737
35 changed files with 464 additions and 36 deletions

View File

@ -21,7 +21,11 @@
<div class="np-card-content-progress np-button-color">
{% t shared.progress, count: course.progress %}
</div>
<a class="np-button np-button-wide" href="{% route course, id: course.id %}">
{% capture course_path %}{% route course, id: course.id %}{% endcapture %}
{% if course.has_to_restart? %}
{% include "course_version_outdated_popup", path: course_path %}
{% endif %}
<a class="np-button np-button-wide" href="{{ course_path }}">
{% t shared.view %}
</a>
</div>