<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 %}
		Weiter
	{% elsif learning_path.completed? %}
		{% t shared.learning_path.view %}
	{% else %}
		Weiter
	{% endif %}
</a>