Cleaned up some files. small changes to a Talkspace template.

This commit is contained in:
Norm Rasmussen
2023-09-14 16:42:43 -04:00
parent 35617bd0b1
commit 14b96ae5db
2 changed files with 1 additions and 22 deletions

Binary file not shown.

View File

@ -17,25 +17,4 @@
</div>
{% endif %}
<a
class="np-top-button np-button-font-color np-button np-button-big"
{% if learning_path.enrolled? %}
{% if learning_path.current_item.course? %}
href="{% route learning_path_course, id: learning_path.current_item.id, learning_path_id: learning_path.id %}"
{% elsif learning_path.current_item.training_event? %}
href="{% route training_session, id: learning_path.current_item.id %}"
{% endif %}
{% else %}
href="{% route learning_path_enrollment, code: learning_path.enrollment_code %}"
{% endif %}
>
{% if learning_path.enrolled? == false %}
{% t shared.enroll %}
{% elsif learning_path.started? == false %}
{% t shared.learning_path.start %}
{% elsif learning_path.completed? %}
{% t shared.learning_path.view %}
{% else %}
{% t shared.continue %}
{% endif %}
</a>
{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %}