{% include "header" %} {% include "course_version_outdated_alert", courses: courses.enrolled %} {% comment %} {% include "sub_navigation" %} {% endcomment %} {% assign groups = current_person.groups | map: 'name'%} {% assign completed_nz_count = 0 %} {% assign nz_status = false%} {% if groups contains 'NZ Mandatory Training' %} {% for course in courses.enrolled %} {% if course.properties.nz_aus_courses %} {% if course.completed? %} {% assign completed_nz_count = completed_nz_count | plus: 1 %} {% endif %} {% endif %} {% endfor %} {% endif %}
{% comment %} {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} {% endcomment %}
Resource Center
{% comment %} {% t .headline, key: current_school.course_vocabulary %} {% endcomment %} Hey {{current_person.first_name}}, welcome to the Dasher Resource Center. You can review best practices used by experienced Dashers. {% if groups contains 'NZ Mandatory Training' %} {% include 'group_selection' %} {% endif %}
{% if groups contains 'NZ Mandatory Training' %} {% assign nz_status = true %} {% if completed_nz_count > 0%}
Completed Courses
{% for course in courses.enrolled %} {% if course.properties.nz_aus_courses %} {% if course.completed? %} {% include 'cards_course' with course, nz_status%} {% endif %} {% endif %} {% endfor %}
{% endif %} {% endif %}
Enrolled Courses
{% include "courses_index", class: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %}
{% include "footer" %} {% if groups contains 'NZ Mandatory Training' %} {% endif %}