{% learning_path_next_step_button learning_path, class: "lp-button np-top-button np-button-font-color np-button np-button-big" %}
{% capture icon %}fa-arrow-left{% endcapture %} {% include "mobile_header", title: learning_path.name, back_icon: icon, back_link: "/app/courses#resource-bundles" %} {% assign courses = courses.enrolled %}
{{ learning_path.name }}
{{ learning_path.name }}
{{ learning_path.description | strip_html }}
{{ learning_path.items.count }} resources
·
Contents
{% assign courses_index = 1 %} {% for item in learning_path.items %} {% assign course_desc = "" %} {% assign course_length = "" %} {% assign course_is_new = false %} {% for course in courses %} {% if course.id == item.id %} {% assign course_desc = course.short_description %} {% assign course_length = course.properties.course_length %} {% assign created_at_date_seconds = current_person.created_at | date: "%s" %} {% assign course_published_date_seconds = course.properties.initial_publish_date | date: "%s" %} {% if course_published_date_seconds > created_at_date_seconds %}{% assign course_is_new = true %}{% endif %} {% endif %} {% endfor %} {% if item.course? %} {% if learning_path.enrolled? and item.unlocked? %} {% else %}
{{courses_index}}
{{ item.name }}
{{course_desc}}
{{course_length}}
New
{% endif %} {% endif %} {% assign courses_index = courses_index | plus: 1 %} {% endfor %}