diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_account_avatar.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_account_form.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_account_form.html.liquid @@ -0,0 +1,139 @@ +
+ {% t .header %} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+ +
+ + +
+{% endunless %} + +{% if form.options.invite? %} +
+ + +
+ + {% if form.terms_of_service_required? %} +
+ +
+ {% t .terms_of_service %} + + {% t .terms_link %} + +
+
+ {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} +
+
+ {% render "account_form", form: form, version: "mobile" %} +
+
+
+
+ {% include "account_avatar", version: "mobile" %} +
+
+ +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_cards_course.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_cards_course.html.liquid new file mode 100644 index 00000000..5402ed64 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_cards_course.html.liquid @@ -0,0 +1,34 @@ +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+

+ {{ course.name }} +

+
+ {{ course.instructor_names }} +
+ +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_cards_learning_path.html.liquid new file mode 100644 index 00000000..424a81ab --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_cards_learning_path.html.liquid @@ -0,0 +1,70 @@ +
+
+
+ {{ learning_path.name }} +
+
+ +
{% t shared.learning_path.title %}
+
+ {{ learning_path.items.count }} {% t .items %} +
+
+
+
{% t shared.learning_path.title %}
+ +
+ +
+

+ {{ learning_path.name }} +

+ +
+ {{ learning_path.instructor_names }} +
+ +
+ {{ learning_path.description }} +
+ +
+ {% t shared.progress, count: learning_path.progress %} +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_cards_training_event.html.liquid @@ -0,0 +1,45 @@ +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% t .sessions, count: training_event.sessions.size %} + + + {% t shared.view %} + +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_top_bar.html.liquid @@ -0,0 +1,44 @@ +
+
+
+

+ {{certificate.certificate_name}} +

+
+
+ {% if certificate.linkedin_sharing_enabled and current_person.signed_in? and certificate.learner_uuid == current_person.id %} + + + {% t .share %} + + {% endif %} + + {% if certificate.generating_pdf %} +
+ +
+ {% else %} + + {% t .download %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_activity_unlocked.html.liquid @@ -0,0 +1,15 @@ +{% if course.enrolled? %} + + {{ activity.title }} + +{% else%} + + {{ activity.title }} + +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_categories.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_categories.html.liquid @@ -0,0 +1,10 @@ +

+ {% t .header %} +

+
+ {% for category in course.categories %} +
+ {{ category.name }} +
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_description.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header, key: current_school.course_vocabulary %} +

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_events.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_events.html.liquid @@ -0,0 +1,28 @@ +

+ {% t .header %} +

+
+ {% for event in course.events %} +
+ +
+
+ {{ event.title }} +
+
+ {% t shared.event_types, key: event.event_type %} +
+
+ {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }} +
+
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_instructors.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_instructors.html.liquid @@ -0,0 +1,22 @@ +

+ {% t .header %} +

+
+ {% for instructor in course.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_mobile_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "course_header" %} +
+ {% include "course_progress_and_cta" %} +
+
+ +{% if course.progress == 0 %} +
+ {% include "course_description" %} +
+
+ {% include "course_outline" %} +
+{% else %} +
+ {% include "course_outline" %} +
+
+ {% include "course_description" %} +
+{% endif %} + +{% if course.categories.any? %} +
+ {% include "course_categories" %} +
+{% endif %} + +{% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+{% endif %} + +{% if course.events.any? %} +
+ {% include "course_events" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_outline.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_outline.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% t .header, key: current_school.course_vocabulary %} +
+
+
    + {% for section in course.sections %} +
  1. +
    + {{ section.name }} +
    +
      + {% for activity in section.activities %} + +
    1. + {% if activity.completed? %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %} + {% endif %} +
      + {% else %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %} + {% endif %} +
      + {% endif %} +
    2. + {% endfor %} +
    +
  2. + {% endfor %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_courses_catalog.html.liquid new file mode 100644 index 00000000..ea1e9ea4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_courses_catalog.html.liquid @@ -0,0 +1,16 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_courses_index.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_courses_index.html.liquid new file mode 100644 index 00000000..19e7671b --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_courses_index.html.liquid @@ -0,0 +1,16 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_filter_select.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_footer.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_footer.html.liquid new file mode 100644 index 00000000..c1a5ab83 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_footer.html.liquid @@ -0,0 +1,78 @@ + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_head.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_head.html.liquid new file mode 100644 index 00000000..beab5b4a --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_head.html.liquid @@ -0,0 +1,3 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_header.html.liquid new file mode 100644 index 00000000..17618eb5 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_header.html.liquid @@ -0,0 +1,180 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} + + {% endif %} +
+
+ +
+
+ {% if current_person.signed_in? %} + {{ current_person.name }} +
+ {{ current_person.name }} +
+ {% endif %} +
+ + {% for website_navigation in navigations.header_navigations %} + + {{ website_navigation.name }} + + {% endfor %} +
+ {% unless current_school.sso_active? %} + + {% t .profile_settings %} + + {% endunless %} + + {% t .sign_out %} + +
+
+
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_header_minimal.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_header_minimal.html.liquid @@ -0,0 +1,17 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_banners.html.liquid @@ -0,0 +1,5 @@ +{% if learning_path.new_content_available? %} + {% include "learning_path_new_content_banner" %} +{% else %} + {% include "learning_path_completed_banner" %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_certificate.html.liquid @@ -0,0 +1,17 @@ +{% if learning_path.has_certificate? %} + {% if learning_path.certificate_completed? %} +
+ +
+ {% include "learning_path_certificate_content" %} +
+
+ {% else %} +
+ {% include "learning_path_certificate_content" %} +
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_certificate_content.html.liquid @@ -0,0 +1,19 @@ +
+ +

+ {{ learning_path.certificate_name }} +

+ {% if learning_path.certificate_completed? %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_completed_banner.html.liquid @@ -0,0 +1,13 @@ +
+ +
+

{% t .headline %}

+

{% t .description %}

+
+ {% if learning_path.certificate_link %} + {% t .actions.certificate %} + {% endif %} + {% t .actions.more_courses %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_course.html.liquid @@ -0,0 +1,56 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_content.html.liquid @@ -0,0 +1,21 @@ +
+
+
+ {{ learning_path.name }} +
+ {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_desktop_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_instructors.html.liquid @@ -0,0 +1,26 @@ +{% if learning_path.instructors.any? %} +
+

+ {% t shared.instructors %} +

+
+ {% for instructor in learning_path.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_content.html.liquid @@ -0,0 +1,19 @@ +{% if learning_path.in_progress? %} + {% include "learning_path_outline" %} +
+ {% include "learning_path_description" %} +
+{% else %} +
+ {% include "learning_path_description" %} +
+
+ {% include "learning_path_outline" %} +
+{% endif %} + +{% if learning_path.instructors.any? %} +
+ {% include "learning_path_instructors" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_header.html.liquid @@ -0,0 +1,17 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ {{ learning_path.name }} +
+ {{ learning_path.name }} +
+ {% include "learning_path_progress_and_cta" %} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_mobile_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_new_content_banner.html.liquid @@ -0,0 +1,12 @@ +
+
+

{% t .headline %}

+

{% t .description %}

+
+ {% learning_path_next_step_button learning_path, class: "np-learning-path-banner-action np-learning-path-banner-action--primary" %} + {% if learning_path.certificate_link %} + {% t .actions.view_certificate %} + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_outline.html.liquid @@ -0,0 +1,10 @@ +
+ {% for item in learning_path.items %} + {% if item.course? %} + {% include "learning_path_course", course: item %} + {% elsif item.training_event? %} + {% include "learning_path_training_session", training_session: item %} + {% endif %} + {% endfor %} + {% include "learning_path_certificate" %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,20 @@ +{% if learning_path.enrolled? %} +
+
+ {% t .progress %} +
+
+
+
+
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} + +{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_summary_desktop_view.html.liquid @@ -0,0 +1,3 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_banners" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_summary_mobile_view.html.liquid @@ -0,0 +1,5 @@ +
+ {% include "learning_path_banners" %} +
+{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_path_training_session.html.liquid @@ -0,0 +1,53 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ + {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_learning_paths_index.html.liquid new file mode 100644 index 00000000..3b7622f5 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_learning_paths_index.html.liquid @@ -0,0 +1,30 @@ +{% assign hidden_lps = 'f0444d09-3eae-4335-a8ec-419d818c01f9 9f4daafe-14e5-4771-9fb5-50752a9372fb 0f4f78e7-a0ab-4e92-b079-97736a8efc31 46108735-9ee0-4b25-a7d3-2dd72d17402f 4d4aac7c-7831-4b27-a029-2d83764f7b2f' %} +{% assign master_learning_path = false %} +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.id contains '33fb398a-df35-4f6d-b801-8bf4dc9d0937'%} + {% assign master_learning_path = true %} + {% endif %} + {% endfor %} +{% endif %} + +
+ {% if items.any? %} + {% for learning_path in items %} + {% if master_learning_path == false %} + {% include "cards_learning_path" with learning_path %} + {%else%} + {% unless hidden_lps contains learning_path.id%} + {% include "cards_learning_path" with learning_path %} + {% endunless %} + {% endif %} + {% endfor %} + {% else %} +
+
+ {% t .empty %} +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_messages.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_messages.html.liquid @@ -0,0 +1,19 @@ +{% if messages.alert.size > 0 %} +
+
+ {% for message in messages.alert %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} + +{% if messages.notice.size > 0 %} +
+
+ {% for message in messages.notice %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_search_result.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_search_result.html.liquid new file mode 100644 index 00000000..5c2a4991 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_search_result.html.liquid @@ -0,0 +1,19 @@ +
+
+
+ {{ result.name }} +
+
+ + {{ result.name }} + +
+
{{ result.description }}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_sub_navigation.html.liquid new file mode 100644 index 00000000..049004cf --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_sub_navigation.html.liquid @@ -0,0 +1,49 @@ + + + + + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_dashboard.html.liquid @@ -0,0 +1,9 @@ +
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} + {% include "cards_training_event" with training_event %} + {% endfor %} + {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_events_index.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_index.html.liquid @@ -0,0 +1,13 @@ +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_cta.html.liquid new file mode 100644 index 00000000..d777c5f6 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_cta.html.liquid @@ -0,0 +1,53 @@ +{% if training_session.approved? %} +
+ + {% t .registered %} +
+{% elsif training_session.pending? %} +
+ {% t .pending %} +
+{% elsif training_session.denied? %} +
+ {% t .denied %} +
+{% elsif training_session.too_late? %} +
+ {% t .too_late %} +
+{% elsif training_session.no_seats? %} +
+ {% t .no_seats %} +
+{% endif %} +
+
+
+ {% form_authenticity_token %} + + {% if training_session.internal? and training_session.approved? %} + {% if features.training_events_google_calendar? %} + {% include "training_session_calendars" %} + + {% else %} + + {% endif %} + + + {% endif %} + + {% if training_session.not_registered? %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_date.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_date.html.liquid @@ -0,0 +1,14 @@ +
+
+
+ {{ training_session.day }} +
+
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_description.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_details" %} +
+
+ {% include "training_session_cta" %} +
+
+
+
+ {% include "training_session_description" %} +
+
+
+
+
+
+ {% t shared.more_sessions %} +
+ {% if training_event.sessions.size > 1 %} + {% include "training_session_more_sessions" %} + {% else %} +
+ {% t .empty %} +
+ {% t .empty %} +
+
+ {% endif %} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_details.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_details.html.liquid @@ -0,0 +1,24 @@ +
+ {% include "training_session_date" %} + +
+ + {{ training_session.time_period }} {{ training_session.time_zone }} +
+ + {% if training_session.location %} +
+ + {{ training_session.location }} +
+ {% endif %} + + {% if training_session.session_url %} +
+ + + {{ training_session.session_url }} + +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_header.html.liquid @@ -0,0 +1,10 @@ +
+ {% t shared.event_types, key: training_event.event_type %} + +
+
+ + + + {{ training_event.title }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_mobile_view.html.liquid @@ -0,0 +1,22 @@ +
+
+ {% include "training_session_header" %} +
+ {% include "training_session_details" %} +
+ {% include "training_session_cta" %} +
+
+ +
+ {% include "training_session_description" %} +
+ +{% if training_event.sessions.size > 1 %} +
+
+ {% t shared.more_sessions %} +
+ {% include "training_session_more_sessions" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_more_sessions.html.liquid @@ -0,0 +1,3 @@ +{% for session in training_event.sessions %} + {% include "training_session_tile", current_session: training_session %} +{% endfor %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/_training_session_tile.html.liquid @@ -0,0 +1,17 @@ +{% if current_session.id != session.id %} + + +
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+ +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/account.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/account.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} + +
+
+ {% include "account_mobile_view", form: form %} +
+ +
+ {% include "account_desktop_view", form: form %} +
+
+ +{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/AB Tasty - External/auth_url_email.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_email.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_employee.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_phone_number.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/auth_url_terms.html.liquid @@ -0,0 +1,74 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/catalog.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/catalog.html.liquid new file mode 100644 index 00000000..d7b380b8 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/catalog.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% include "sub_navigation" %} +
+
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} + + {% if courses.in_catalog.any? %} + {% + include "filter_dropdown", + filters: courses.filters, + key: "category_uuid", + label: label + %} + {% endif %} +
+ {% include "courses_catalog" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/course.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/course.html.liquid new file mode 100644 index 00000000..d77e09ba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/course.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/courses.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/courses.html.liquid new file mode 100644 index 00000000..ef34b59a --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/courses.html.liquid @@ -0,0 +1,11 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
+
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% include "courses_index", class: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/dashboard.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/dashboard.html.liquid new file mode 100644 index 00000000..a0d63a05 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/dashboard.html.liquid @@ -0,0 +1,76 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} + +{% assign master_learning_path = false %} +{% assign master_learning_path_finished = false %} + +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.id contains '33fb398a-df35-4f6d-b801-8bf4dc9d0937'%} + {% assign master_learning_path = true %} + {% endif %} + {% endfor %} +{% endif %} + +{% for learning_path in learning_paths.available %} + {% if learning_path.id == '4d4aac7c-7831-4b27-a029-2d83764f7b2f' and learning_path.progress == 100 %} + {% assign master_learning_path_finished = true %} + {% endif %} +{% endfor %} + +
+ + {% if master_learning_path %} +
+
+ {% if master_learning_path_finished == false%} +
Take your required Learning Paths!
+ {% for learning_path in learning_paths.available %} + {% if learning_path.id == 'f0444d09-3eae-4335-a8ec-419d818c01f9' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '9f4daafe-14e5-4771-9fb5-50752a9372fb' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '0f4f78e7-a0ab-4e92-b079-97736a8efc31' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '46108735-9ee0-4b25-a7d3-2dd72d17402f' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '4d4aac7c-7831-4b27-a029-2d83764f7b2f' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% endif %} + {% endfor %} + {% else %} + {%endif%} +
+
+ {% endif %} + +
+
+ {% if features.learning_paths? %} +
+ Assigned {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ Assigned {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/forgot_password.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/homepage.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/homepage.html.liquid new file mode 100644 index 00000000..4801fc00 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/homepage.html.liquid @@ -0,0 +1,73 @@ +{% assign master_learning_path = false %} + +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.id contains 'cebe3604-010f-4de2-b953-b8d0a1058188' or group.id contains 'b8ffe8fd-4210-40c3-8dfb-ce7ac3fc4027'%} + {% assign master_learning_path = true %} +

hi

+ {% endif %} + {% endfor %} +{% endif %} + + + +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% include "sub_navigation" %} + {% if master_learning_path %} + {% for learning_path in learning_paths.available %} + {% if learning_path.id == 'a2511934-9696-4ed1-b7a0-d27d5e244c10' and learning_path.progress < 100 %} +

true

+ {% include "cards_learning_path" with learning_path %} + {% endif %} + {% endfor %} + {% endif %} + +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/learning_path.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/learning_path.html.liquid new file mode 100644 index 00000000..5cbb5a93 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/learning_path.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/learning_path_summary.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/learning_paths.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/login.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + + {% t shared.sign_up %} + + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/master.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/not_found.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/private_certificate.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/private_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/public_certificate.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/public_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/reset_password.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/search.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/search.html.liquid new file mode 100644 index 00000000..01684399 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/search.html.liquid @@ -0,0 +1,27 @@ +{% include "header" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+ {% capture label %}{% t shared.filters.by_type %}{% endcapture %} + {% + include "filter_dropdown", + filters: results.filters, + key: "type", + label: label + %} +
+ {% if results.items.any? %} + {% render "search_result" for results.items as result %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/sign_up.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/sign_up.html.liquid @@ -0,0 +1,72 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - External/styles.css.liquid b/Custom_Templates/customer_templates/AB Tasty - External/styles.css.liquid new file mode 100644 index 00000000..7386f452 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/styles.css.liquid @@ -0,0 +1,11 @@ + /* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ diff --git a/Custom_Templates/customer_templates/AB Tasty - External/training_events.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/training_events.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/training_session.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/training_session.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "training_session_desktop_view" %} +
+
+ {% include "training_session_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {{ training_session.title }} +
+
+ {% t .info, + event_name: training_session.title, + session_date: training_session.date, + session_time: training_session.time + %} +
+
+ {% t .question %} +
+
+ {% form_authenticity_token %} + + + +
+
+ {% t .salutation %} +
+
+ {{ current_school.name }} +
+ {% else %} + +
+ {% t .success.response_text %} +
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - External/unsubscribe.html.liquid b/Custom_Templates/customer_templates/AB Tasty - External/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - External/unsubscribe.html.liquid @@ -0,0 +1,30 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {% t .unsubscribe_text %} +
+
+ {% t .resubscribe_text %} +
+
+ {% form_authenticity_token %} + + +
+ {% else %} + +
+ {% t .resubscribed_text %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_account_avatar.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_account_form.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_form.html.liquid @@ -0,0 +1,139 @@ +
+ {% t .header %} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+ +
+ + +
+{% endunless %} + +{% if form.options.invite? %} +
+ + +
+ + {% if form.terms_of_service_required? %} +
+ +
+ {% t .terms_of_service %} + + {% t .terms_link %} + +
+
+ {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} +
+
+ {% render "account_form", form: form, version: "mobile" %} +
+
+
+
+ {% include "account_avatar", version: "mobile" %} +
+
+ +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_course.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_course.html.liquid new file mode 100644 index 00000000..5402ed64 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_course.html.liquid @@ -0,0 +1,34 @@ +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+

+ {{ course.name }} +

+
+ {{ course.instructor_names }} +
+ +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_learning_path.html.liquid new file mode 100644 index 00000000..424a81ab --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_learning_path.html.liquid @@ -0,0 +1,70 @@ +
+
+
+ {{ learning_path.name }} +
+
+ +
{% t shared.learning_path.title %}
+
+ {{ learning_path.items.count }} {% t .items %} +
+
+
+
{% t shared.learning_path.title %}
+ +
+ +
+

+ {{ learning_path.name }} +

+ +
+ {{ learning_path.instructor_names }} +
+ +
+ {{ learning_path.description }} +
+ +
+ {% t shared.progress, count: learning_path.progress %} +
+ +
+
+
+
+ + +
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_cards_training_event.html.liquid @@ -0,0 +1,45 @@ +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% t .sessions, count: training_event.sessions.size %} + + + {% t shared.view %} + +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_top_bar.html.liquid @@ -0,0 +1,44 @@ +
+
+
+

+ {{certificate.certificate_name}} +

+
+
+ {% if certificate.linkedin_sharing_enabled and current_person.signed_in? and certificate.learner_uuid == current_person.id %} + + + {% t .share %} + + {% endif %} + + {% if certificate.generating_pdf %} +
+ +
+ {% else %} + + {% t .download %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_activity_unlocked.html.liquid @@ -0,0 +1,15 @@ +{% if course.enrolled? %} + + {{ activity.title }} + +{% else%} + + {{ activity.title }} + +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_categories.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_categories.html.liquid @@ -0,0 +1,10 @@ +

+ {% t .header %} +

+
+ {% for category in course.categories %} +
+ {{ category.name }} +
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_description.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header, key: current_school.course_vocabulary %} +

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_events.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_events.html.liquid @@ -0,0 +1,28 @@ +

+ {% t .header %} +

+
+ {% for event in course.events %} +
+ +
+
+ {{ event.title }} +
+
+ {% t shared.event_types, key: event.event_type %} +
+
+ {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }} +
+
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_instructors.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_instructors.html.liquid @@ -0,0 +1,22 @@ +

+ {% t .header %} +

+
+ {% for instructor in course.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_mobile_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "course_header" %} +
+ {% include "course_progress_and_cta" %} +
+
+ +{% if course.progress == 0 %} +
+ {% include "course_description" %} +
+
+ {% include "course_outline" %} +
+{% else %} +
+ {% include "course_outline" %} +
+
+ {% include "course_description" %} +
+{% endif %} + +{% if course.categories.any? %} +
+ {% include "course_categories" %} +
+{% endif %} + +{% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+{% endif %} + +{% if course.events.any? %} +
+ {% include "course_events" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_outline.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_outline.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% t .header, key: current_school.course_vocabulary %} +
+
+
    + {% for section in course.sections %} +
  1. +
    + {{ section.name }} +
    +
      + {% for activity in section.activities %} + +
    1. + {% if activity.completed? %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %} + {% endif %} +
      + {% else %} + + {% if activity.locked? %} + {% include "course_activity_locked" %} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %} + {% endif %} +
      + {% endif %} +
    2. + {% endfor %} +
    +
  2. + {% endfor %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_catalog.html.liquid new file mode 100644 index 00000000..ea1e9ea4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_catalog.html.liquid @@ -0,0 +1,16 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_index.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_index.html.liquid new file mode 100644 index 00000000..19e7671b --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_index.html.liquid @@ -0,0 +1,16 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_select.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_footer.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_footer.html.liquid new file mode 100644 index 00000000..c1a5ab83 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_footer.html.liquid @@ -0,0 +1,78 @@ + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_head.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_head.html.liquid new file mode 100644 index 00000000..beab5b4a --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_head.html.liquid @@ -0,0 +1,3 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_header.html.liquid new file mode 100644 index 00000000..17618eb5 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_header.html.liquid @@ -0,0 +1,180 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} + + {% endif %} +
+
+ +
+
+ {% if current_person.signed_in? %} + {{ current_person.name }} +
+ {{ current_person.name }} +
+ {% endif %} +
+ + {% for website_navigation in navigations.header_navigations %} + + {{ website_navigation.name }} + + {% endfor %} +
+ {% unless current_school.sso_active? %} + + {% t .profile_settings %} + + {% endunless %} + + {% t .sign_out %} + +
+
+
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_header_minimal.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_header_minimal.html.liquid @@ -0,0 +1,17 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_banners.html.liquid @@ -0,0 +1,5 @@ +{% if learning_path.new_content_available? %} + {% include "learning_path_new_content_banner" %} +{% else %} + {% include "learning_path_completed_banner" %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_certificate.html.liquid @@ -0,0 +1,17 @@ +{% if learning_path.has_certificate? %} + {% if learning_path.certificate_completed? %} +
+ +
+ {% include "learning_path_certificate_content" %} +
+
+ {% else %} +
+ {% include "learning_path_certificate_content" %} +
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_certificate_content.html.liquid @@ -0,0 +1,19 @@ +
+ +

+ {{ learning_path.certificate_name }} +

+ {% if learning_path.certificate_completed? %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_completed_banner.html.liquid @@ -0,0 +1,13 @@ +
+ +
+

{% t .headline %}

+

{% t .description %}

+
+ {% if learning_path.certificate_link %} + {% t .actions.certificate %} + {% endif %} + {% t .actions.more_courses %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_course.html.liquid @@ -0,0 +1,56 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_content.html.liquid @@ -0,0 +1,21 @@ +
+
+
+ {{ learning_path.name }} +
+ {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_desktop_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_instructors.html.liquid @@ -0,0 +1,26 @@ +{% if learning_path.instructors.any? %} +
+

+ {% t shared.instructors %} +

+
+ {% for instructor in learning_path.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_content.html.liquid @@ -0,0 +1,19 @@ +{% if learning_path.in_progress? %} + {% include "learning_path_outline" %} +
+ {% include "learning_path_description" %} +
+{% else %} +
+ {% include "learning_path_description" %} +
+
+ {% include "learning_path_outline" %} +
+{% endif %} + +{% if learning_path.instructors.any? %} +
+ {% include "learning_path_instructors" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_header.html.liquid @@ -0,0 +1,17 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ {{ learning_path.name }} +
+ {{ learning_path.name }} +
+ {% include "learning_path_progress_and_cta" %} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_mobile_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_new_content_banner.html.liquid @@ -0,0 +1,12 @@ +
+
+

{% t .headline %}

+

{% t .description %}

+
+ {% learning_path_next_step_button learning_path, class: "np-learning-path-banner-action np-learning-path-banner-action--primary" %} + {% if learning_path.certificate_link %} + {% t .actions.view_certificate %} + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_outline.html.liquid @@ -0,0 +1,10 @@ +
+ {% for item in learning_path.items %} + {% if item.course? %} + {% include "learning_path_course", course: item %} + {% elsif item.training_event? %} + {% include "learning_path_training_session", training_session: item %} + {% endif %} + {% endfor %} + {% include "learning_path_certificate" %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,20 @@ +{% if learning_path.enrolled? %} +
+
+ {% t .progress %} +
+
+
+
+
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} + +{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_summary_desktop_view.html.liquid @@ -0,0 +1,3 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_banners" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_summary_mobile_view.html.liquid @@ -0,0 +1,5 @@ +
+ {% include "learning_path_banners" %} +
+{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_path_training_session.html.liquid @@ -0,0 +1,53 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ + {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_paths_index.html.liquid new file mode 100644 index 00000000..5e9dbbf2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_learning_paths_index.html.liquid @@ -0,0 +1,30 @@ +{% assign hidden_lps = 'a2511934-9696-4ed1-b7a0-d27d5e244c10 9d05d319-ccd3-44d8-98ff-4314a15c784d f149de72-1c83-45cd-8d2c-6fc8ce02a7bd d97157fe-36d6-4549-b9f6-46b2bb6d020a 21576077-ea6a-41b7-bd38-c01d9d788617' %} +{% assign master_learning_path = false %} +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.id contains 'cebe3604-010f-4de2-b953-b8d0a1058188' or group.id contains 'b8ffe8fd-4210-40c3-8dfb-ce7ac3fc4027'%} + {% assign master_learning_path = true %} + {% endif %} + {% endfor %} +{% endif %} + +
+ {% if items.any? %} + {% for learning_path in items %} + {% if master_learning_path == false %} + {% include "cards_learning_path" with learning_path %} + {%else%} + {% unless hidden_lps contains learning_path.id%} + {% include "cards_learning_path" with learning_path %} + {% endunless %} + {% endif %} + {% endfor %} + {% else %} +
+
+ {% t .empty %} +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_messages.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_messages.html.liquid @@ -0,0 +1,19 @@ +{% if messages.alert.size > 0 %} +
+
+ {% for message in messages.alert %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} + +{% if messages.notice.size > 0 %} +
+
+ {% for message in messages.notice %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_search_result.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_search_result.html.liquid new file mode 100644 index 00000000..5c2a4991 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_search_result.html.liquid @@ -0,0 +1,19 @@ +
+
+
+ {{ result.name }} +
+
+ + {{ result.name }} + +
+
{{ result.description }}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_sub_navigation.html.liquid new file mode 100644 index 00000000..049004cf --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_sub_navigation.html.liquid @@ -0,0 +1,49 @@ + + + + + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_dashboard.html.liquid @@ -0,0 +1,9 @@ +
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} + {% include "cards_training_event" with training_event %} + {% endfor %} + {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_index.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_index.html.liquid @@ -0,0 +1,13 @@ +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_cta.html.liquid new file mode 100644 index 00000000..d777c5f6 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_cta.html.liquid @@ -0,0 +1,53 @@ +{% if training_session.approved? %} +
+ + {% t .registered %} +
+{% elsif training_session.pending? %} +
+ {% t .pending %} +
+{% elsif training_session.denied? %} +
+ {% t .denied %} +
+{% elsif training_session.too_late? %} +
+ {% t .too_late %} +
+{% elsif training_session.no_seats? %} +
+ {% t .no_seats %} +
+{% endif %} +
+
+
+ {% form_authenticity_token %} + + {% if training_session.internal? and training_session.approved? %} + {% if features.training_events_google_calendar? %} + {% include "training_session_calendars" %} + + {% else %} + + {% endif %} + + + {% endif %} + + {% if training_session.not_registered? %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_date.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_date.html.liquid @@ -0,0 +1,14 @@ +
+
+
+ {{ training_session.day }} +
+
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_description.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_details" %} +
+
+ {% include "training_session_cta" %} +
+
+
+
+ {% include "training_session_description" %} +
+
+
+
+
+
+ {% t shared.more_sessions %} +
+ {% if training_event.sessions.size > 1 %} + {% include "training_session_more_sessions" %} + {% else %} +
+ {% t .empty %} +
+ {% t .empty %} +
+
+ {% endif %} +
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_details.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_details.html.liquid @@ -0,0 +1,24 @@ +
+ {% include "training_session_date" %} + +
+ + {{ training_session.time_period }} {{ training_session.time_zone }} +
+ + {% if training_session.location %} +
+ + {{ training_session.location }} +
+ {% endif %} + + {% if training_session.session_url %} +
+ + + {{ training_session.session_url }} + +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_header.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_header.html.liquid @@ -0,0 +1,10 @@ +
+ {% t shared.event_types, key: training_event.event_type %} + +
+
+ + + + {{ training_event.title }} +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_mobile_view.html.liquid @@ -0,0 +1,22 @@ +
+
+ {% include "training_session_header" %} +
+ {% include "training_session_details" %} +
+ {% include "training_session_cta" %} +
+
+ +
+ {% include "training_session_description" %} +
+ +{% if training_event.sessions.size > 1 %} +
+
+ {% t shared.more_sessions %} +
+ {% include "training_session_more_sessions" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_more_sessions.html.liquid @@ -0,0 +1,3 @@ +{% for session in training_event.sessions %} + {% include "training_session_tile", current_session: training_session %} +{% endfor %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/_training_session_tile.html.liquid @@ -0,0 +1,17 @@ +{% if current_session.id != session.id %} + + +
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+ +
+{% endif %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/account.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/account.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} + +
+
+ {% include "account_mobile_view", form: form %} +
+ +
+ {% include "account_desktop_view", form: form %} +
+
+ +{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_email.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_email.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_employee.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_phone_number.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/auth_url_terms.html.liquid @@ -0,0 +1,74 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/catalog.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/catalog.html.liquid new file mode 100644 index 00000000..d7b380b8 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/catalog.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% include "sub_navigation" %} +
+
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} + + {% if courses.in_catalog.any? %} + {% + include "filter_dropdown", + filters: courses.filters, + key: "category_uuid", + label: label + %} + {% endif %} +
+ {% include "courses_catalog" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/course.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/course.html.liquid new file mode 100644 index 00000000..d77e09ba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/course.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/courses.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/courses.html.liquid new file mode 100644 index 00000000..ef34b59a --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/courses.html.liquid @@ -0,0 +1,11 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} +
+
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% include "courses_index", class: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/dashboard.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/dashboard.html.liquid new file mode 100644 index 00000000..200fe945 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/dashboard.html.liquid @@ -0,0 +1,86 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation" %} + +{% assign master_learning_path = false %} +{% assign master_learning_path_finished = false %} +{% assign fundamentals_finished = false %} + +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.id contains '33fb398a-df35-4f6d-b801-8bf4dc9d0937'%} + {% assign master_learning_path = true %} + {% endif %} + {% endfor %} +{% endif %} + +{% for learning_path in learning_paths.available %} + {% if learning_path.id == '4d4aac7c-7831-4b27-a029-2d83764f7b2f' and learning_path.progress == 100 %} + {% assign master_learning_path_finished = true %} + {% endif %} + {% if learning_path.id == 'b6c4ea11-aa5a-43ad-aef0-77a79c1e9755' and learning_path.progress == 100 %} + {% assign fundamentals_finished = true %} + {% endif %} +{% endfor %} + +
+ + {% if master_learning_path %} +
+
+ {% if master_learning_path_finished == false%} +
Take your required Learning Paths!
+ {% for learning_path in learning_paths.available %} + {% if fundamentals_finished and learning_path.id == '60b30adf-fd13-42c4-aa82-7c12788424c2' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == 'b6c4ea11-aa5a-43ad-aef0-77a79c1e9755' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == 'f0444d09-3eae-4335-a8ec-419d818c01f9' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '9f4daafe-14e5-4771-9fb5-50752a9372fb' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '0f4f78e7-a0ab-4e92-b079-97736a8efc31' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '46108735-9ee0-4b25-a7d3-2dd72d17402f' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% elsif learning_path.id == '4d4aac7c-7831-4b27-a029-2d83764f7b2f' and learning_path.progress < 100 %} + {% include "cards_learning_path" with learning_path %} + {% break %} + {% endif %} + {% endfor %} + {% else %} + {%endif%} +
+
+ {% endif %} + +
+
+ {% if features.learning_paths? %} +
+ Assigned {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ Assigned {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/forgot_password.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/homepage.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/homepage.html.liquid new file mode 100644 index 00000000..4801fc00 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/homepage.html.liquid @@ -0,0 +1,73 @@ +{% assign master_learning_path = false %} + +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.id contains 'cebe3604-010f-4de2-b953-b8d0a1058188' or group.id contains 'b8ffe8fd-4210-40c3-8dfb-ce7ac3fc4027'%} + {% assign master_learning_path = true %} +

hi

+ {% endif %} + {% endfor %} +{% endif %} + + + +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% include "sub_navigation" %} + {% if master_learning_path %} + {% for learning_path in learning_paths.available %} + {% if learning_path.id == 'a2511934-9696-4ed1-b7a0-d27d5e244c10' and learning_path.progress < 100 %} +

true

+ {% include "cards_learning_path" with learning_path %} + {% endif %} + {% endfor %} + {% endif %} + +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/learning_path.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/learning_path.html.liquid new file mode 100644 index 00000000..5cbb5a93 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/learning_path.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/learning_path_summary.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/learning_paths.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/login.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + + {% t shared.sign_up %} + + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/master.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/not_found.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/private_certificate.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/private_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/public_certificate.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/public_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/reset_password.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/search.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/search.html.liquid new file mode 100644 index 00000000..01684399 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/search.html.liquid @@ -0,0 +1,27 @@ +{% include "header" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+ {% capture label %}{% t shared.filters.by_type %}{% endcapture %} + {% + include "filter_dropdown", + filters: results.filters, + key: "type", + label: label + %} +
+ {% if results.items.any? %} + {% render "search_result" for results.items as result %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/sign_up.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/sign_up.html.liquid @@ -0,0 +1,72 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/styles.css.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/styles.css.liquid new file mode 100644 index 00000000..7386f452 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/styles.css.liquid @@ -0,0 +1,11 @@ + /* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/training_events.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/training_events.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/training_session.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/training_session.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "training_session_desktop_view" %} +
+
+ {% include "training_session_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {{ training_session.title }} +
+
+ {% t .info, + event_name: training_session.title, + session_date: training_session.date, + session_time: training_session.time + %} +
+
+ {% t .question %} +
+
+ {% form_authenticity_token %} + + + +
+
+ {% t .salutation %} +
+
+ {{ current_school.name }} +
+ {% else %} + +
+ {% t .success.response_text %} +
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/AB Tasty - Internal/unsubscribe.html.liquid b/Custom_Templates/customer_templates/AB Tasty - Internal/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/AB Tasty - Internal/unsubscribe.html.liquid @@ -0,0 +1,30 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {% t .unsubscribe_text %} +
+
+ {% t .resubscribe_text %} +
+
+ {% form_authenticity_token %} + + +
+ {% else %} + +
+ {% t .resubscribed_text %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_form.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_form.html.liquid @@ -0,0 +1,139 @@ +
+ {% t .header %} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+ +
+ + +
+{% endunless %} + +{% if form.options.invite? %} +
+ + +
+ + {% if form.terms_of_service_required? %} +
+ +
+ {% t .terms_of_service %} + + {% t .terms_link %} + +
+
+ {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} +
+
+ {% render "account_form", form: form, version: "mobile" %} +
+
+
+
+ {% include "account_avatar", version: "mobile" %} +
+
+ +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_course.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_course.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_course_condensed.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_course_condensed.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_course_condensed.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_course_condensed.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_faq.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_faq.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_faq.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_faq.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_learning_path.html.liquid new file mode 100644 index 00000000..1ca1adf9 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_learning_path.html.liquid @@ -0,0 +1,25 @@ + +
+ {{ learning_path.name }} +
+ + +
+
{{ learning_path.items.count }} resources
+ · + {% for item in learning_path.items %} + {% if item.course? %} + {% for catalog_course in catalog_courses %} + {% if item.id == catalog_course.id %} + {% assign course_time = catalog_course.properties.course_length | split: " " %} + {% assign course_time_number = course_time | slice: 0 %} +
+ {% endif %} + {% endfor %} + {% endif %} + {% endfor %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_learning_path_condensed.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_learning_path_condensed.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_learning_path_condensed.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_learning_path_condensed.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_training_event.html.liquid new file mode 100644 index 00000000..1176157e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_cards_training_event.html.liquid @@ -0,0 +1,45 @@ +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% t .sessions, count: training_event.sessions.size %} + + + {% t shared.view %} + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_category_cards.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_category_cards.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_category_cards.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_category_cards.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_top_bar.html.liquid @@ -0,0 +1,44 @@ +
+
+
+

+ {{certificate.certificate_name}} +

+
+
+ {% if certificate.linkedin_sharing_enabled and current_person.signed_in? and certificate.learner_uuid == current_person.id %} + + + {% t .share %} + + {% endif %} + + {% if certificate.generating_pdf %} +
+ +
+ {% else %} + + {% t .download %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_activity_unlocked.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_course_activity_unlocked.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_activity_unlocked.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_categories.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_categories.html.liquid @@ -0,0 +1,10 @@ +

+ {% t .header %} +

+
+ {% for category in course.categories %} +
+ {{ category.name }} +
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_description.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header, key: current_school.course_vocabulary %} +

+
+ {{ course.full_description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_events.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_events.html.liquid @@ -0,0 +1,28 @@ +

+ {% t .header %} +

+
+ {% for event in course.events %} +
+ +
+
+ {{ event.title }} +
+
+ {% t shared.event_types, key: event.event_type %} +
+
+ {{ event.sessions.first.time_period }} {{ event.sessions.first.time_zone }} +
+
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_instructors.html.liquid @@ -0,0 +1,22 @@ +

+ {% t .header %} +

+
+ {% for instructor in course.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_mobile_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "course_header" %} +
+ {% include "course_progress_and_cta" %} +
+
+ +{% if course.progress == 0 %} +
+ {% include "course_description" %} +
+
+ {% include "course_outline" %} +
+{% else %} +
+ {% include "course_outline" %} +
+
+ {% include "course_description" %} +
+{% endif %} + +{% if course.categories.any? %} +
+ {% include "course_categories" %} +
+{% endif %} + +{% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+{% endif %} + +{% if course.events.any? %} +
+ {% include "course_events" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_outline.html.liquid new file mode 100644 index 00000000..60285e60 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_outline.html.liquid @@ -0,0 +1,42 @@ +
+
Contents
+
+
    + {% assign activity_count = 0 %} + {% assign num_of_sections = course.sections | size %} + {% assign num_of_activities_in_first_section = course.sections.first.activities | size %} + + {% for section in course.sections %} +
  1. + {% if num_of_activities_in_first_section > 1 or num_of_sections > 1 %} +
    {{ section.name }}
    + {% endif %} +
      + {% for activity in section.activities %} + {% assign activity_count = activity_count | plus: 1 %} +
    1. + {% if activity.completed? %} + + {% if activity.locked? %} + {{ activity.title }} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link-completed" %} + {% endif %} +
      + {% else %} +
      {{ activity_count }}
      + {% if activity.locked? %} + {{ activity.title }} + {% else %} + {% include "course_activity_unlocked", class: "np-course-outline-content-activity-link" %} + {% endif %} +
      + {% endif %} +
    2. + {% endfor %} +
    +
  2. + {% endfor %} +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_catalog.html.liquid new file mode 100644 index 00000000..ea1e9ea4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_catalog.html.liquid @@ -0,0 +1,16 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_index.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_index.html.liquid new file mode 100644 index 00000000..19e7671b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_index.html.liquid @@ -0,0 +1,16 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_select.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filtered_courses_tray.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filtered_courses_tray.html.liquid new file mode 100644 index 00000000..49e976ad --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filtered_courses_tray.html.liquid @@ -0,0 +1 @@ +
{{category_name}}
{% if current_person.signed_in? %}{% endif %}
{% assign catalog_courses_by_progress = catalog_courses | sort: "name" %}{% for course in catalog_courses_by_progress %}{% for course_category in course.categories %}{% if school_category == course_category.name %}{% include "cards_course_condensed" with course %}{% endif %}{% endfor %}{% endfor %}
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filtered_learning_paths_tray.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filtered_learning_paths_tray.html.liquid new file mode 100644 index 00000000..14ca30ba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_filtered_learning_paths_tray.html.liquid @@ -0,0 +1,14 @@ +
+
{{category_name}}
+ {% if current_person.signed_in? %}{% endif %} +
+ {% assign learning_paths_by_progress = available_learning_paths | sort: "progress" %} + {% for learning_path in learning_paths_by_progress %} + {% for lp_category in learning_path.categories %} + {% if school_category == lp_category.name %} + {% include "cards_learning_path_condensed" with learning_path %} + {% endif %} + {% endfor %} + {% endfor %} +
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_footer.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_footer.html.liquid new file mode 100644 index 00000000..c1a5ab83 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_footer.html.liquid @@ -0,0 +1,78 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_head.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_head.html.liquid new file mode 100644 index 00000000..6303e569 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_head.html.liquid @@ -0,0 +1,29 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + +{% assign staging_school_id = "1ddd31d3-cabe-4809-b5d3-8abfbdd33458" %} +{% assign production_sandbox_school_id = "a21f483c-cfa4-46f7-b30b-8753ec1e7f60" %} +{% assign live_school_id = "3c8229bf-a77c-4c88-8c65-75a03b0b1212" %} + +{% if current_school.id == staging_school_id %} + {% comment %} {% endcomment %} +{% elsif current_school.id == production_sandbox_school_id %} + +{% elsif current_school.id == live_school_id %} + +{% endif %} + + + + + +{% if current_school.id == staging_school_id %} + {% comment %} {% endcomment %} + {% include "js_scripts" %} +{% elsif current_school.id == production_sandbox_school_id %} + + {% comment %} {% include "js_scripts" %} {% endcomment %} +{% elsif current_school.id == live_school_id %} + +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_header.html.liquid new file mode 100644 index 00000000..17618eb5 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_header.html.liquid @@ -0,0 +1,180 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +
+ + {% if current_person.signed_in? %} + +
+ + +
+ {% else %} + + {% endif %} +
+
+ +
+
+ {% if current_person.signed_in? %} + {{ current_person.name }} +
+ {{ current_person.name }} +
+ {% endif %} +
+ + {% for website_navigation in navigations.header_navigations %} + + {{ website_navigation.name }} + + {% endfor %} +
+ {% unless current_school.sso_active? %} + + {% t .profile_settings %} + + {% endunless %} + + {% t .sign_out %} + +
+
+
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_header_minimal.html.liquid @@ -0,0 +1,17 @@ +
+ + {% if current_school.logo_url %} + + {% else %} + + {{ current_school.name }} + + {% endif %} + +
+ +{% include "messages" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_banners.html.liquid @@ -0,0 +1,5 @@ +{% if learning_path.new_content_available? %} + {% include "learning_path_new_content_banner" %} +{% else %} + {% include "learning_path_completed_banner" %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_certificate.html.liquid @@ -0,0 +1,17 @@ +{% if learning_path.has_certificate? %} + {% if learning_path.certificate_completed? %} +
+ +
+ {% include "learning_path_certificate_content" %} +
+
+ {% else %} +
+ {% include "learning_path_certificate_content" %} +
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_certificate_content.html.liquid @@ -0,0 +1,19 @@ +
+ +

+ {{ learning_path.certificate_name }} +

+ {% if learning_path.certificate_completed? %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_completed_banner.html.liquid @@ -0,0 +1,13 @@ +
+ +
+

{% t .headline %}

+

{% t .description %}

+
+ {% if learning_path.certificate_link %} + {% t .actions.certificate %} + {% endif %} + {% t .actions.more_courses %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_course.html.liquid @@ -0,0 +1,56 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_content.html.liquid @@ -0,0 +1,21 @@ +
+
+
+ {{ learning_path.name }} +
+ {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_desktop_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_instructors.html.liquid @@ -0,0 +1,26 @@ +{% if learning_path.instructors.any? %} +
+

+ {% t shared.instructors %} +

+
+ {% for instructor in learning_path.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_content.html.liquid @@ -0,0 +1,19 @@ +{% if learning_path.in_progress? %} + {% include "learning_path_outline" %} +
+ {% include "learning_path_description" %} +
+{% else %} +
+ {% include "learning_path_description" %} +
+
+ {% include "learning_path_outline" %} +
+{% endif %} + +{% if learning_path.instructors.any? %} +
+ {% include "learning_path_instructors" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_header.html.liquid @@ -0,0 +1,17 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ {{ learning_path.name }} +
+ {{ learning_path.name }} +
+ {% include "learning_path_progress_and_cta" %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_mobile_view.html.liquid @@ -0,0 +1,2 @@ +{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_new_content_banner.html.liquid @@ -0,0 +1,12 @@ +
+
+

{% t .headline %}

+

{% t .description %}

+
+ {% learning_path_next_step_button learning_path, class: "np-learning-path-banner-action np-learning-path-banner-action--primary" %} + {% if learning_path.certificate_link %} + {% t .actions.view_certificate %} + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_outline.html.liquid @@ -0,0 +1,10 @@ +
+ {% for item in learning_path.items %} + {% if item.course? %} + {% include "learning_path_course", course: item %} + {% elsif item.training_event? %} + {% include "learning_path_training_session", training_session: item %} + {% endif %} + {% endfor %} + {% include "learning_path_certificate" %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,20 @@ +{% if learning_path.enrolled? %} +
+
+ {% t .progress %} +
+
+
+
+
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} + +{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_summary_desktop_view.html.liquid @@ -0,0 +1,3 @@ +{% include "learning_path_desktop_header" %} +{% include "learning_path_banners" %} +{% include "learning_path_desktop_content" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_summary_mobile_view.html.liquid @@ -0,0 +1,5 @@ +
+ {% include "learning_path_banners" %} +
+{% include "learning_path_mobile_header" %} +{% include "learning_path_mobile_content" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_path_training_session.html.liquid @@ -0,0 +1,53 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ + {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_paths_index.html.liquid new file mode 100644 index 00000000..a4681210 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_learning_paths_index.html.liquid @@ -0,0 +1,14 @@ +
+ {% if items.any? %} + {% for learning_path in items %} + {% include "cards_learning_path" with learning_path %} + {% endfor %} + {% else %} +
+
+ {% t .empty %} +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_messages.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_messages.html.liquid @@ -0,0 +1,19 @@ +{% if messages.alert.size > 0 %} +
+
+ {% for message in messages.alert %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} + +{% if messages.notice.size > 0 %} +
+
+ {% for message in messages.notice %} +
{{ message }}
+ {% endfor %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_mobile_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_mobile_header.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_mobile_header.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_search_result.html.liquid new file mode 100644 index 00000000..2e356b19 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_search_result.html.liquid @@ -0,0 +1,16 @@ +{% if result.type == "course" %} +
+
+ +
+
+
+ {{ result.name }} +
+
+
{{ result.item.full_description }}
+
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_sub_navigation.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_sub_navigation.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_sub_navigation.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_dashboard.html.liquid @@ -0,0 +1,9 @@ +
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} + {% include "cards_training_event" with training_event %} + {% endfor %} + {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_index.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_index.html.liquid @@ -0,0 +1,13 @@ +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_cta.html.liquid new file mode 100644 index 00000000..d777c5f6 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_cta.html.liquid @@ -0,0 +1,53 @@ +{% if training_session.approved? %} +
+ + {% t .registered %} +
+{% elsif training_session.pending? %} +
+ {% t .pending %} +
+{% elsif training_session.denied? %} +
+ {% t .denied %} +
+{% elsif training_session.too_late? %} +
+ {% t .too_late %} +
+{% elsif training_session.no_seats? %} +
+ {% t .no_seats %} +
+{% endif %} +
+
+
+ {% form_authenticity_token %} + + {% if training_session.internal? and training_session.approved? %} + {% if features.training_events_google_calendar? %} + {% include "training_session_calendars" %} + + {% else %} + + {% endif %} + + + {% endif %} + + {% if training_session.not_registered? %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_date.html.liquid @@ -0,0 +1,14 @@ +
+
+
+ {{ training_session.day }} +
+
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_details" %} +
+
+ {% include "training_session_cta" %} +
+
+
+
+ {% include "training_session_description" %} +
+
+
+
+
+
+ {% t shared.more_sessions %} +
+ {% if training_event.sessions.size > 1 %} + {% include "training_session_more_sessions" %} + {% else %} +
+ {% t .empty %} +
+ {% t .empty %} +
+
+ {% endif %} +
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_details.html.liquid @@ -0,0 +1,24 @@ +
+ {% include "training_session_date" %} + +
+ + {{ training_session.time_period }} {{ training_session.time_zone }} +
+ + {% if training_session.location %} +
+ + {{ training_session.location }} +
+ {% endif %} + + {% if training_session.session_url %} +
+ + + {{ training_session.session_url }} + +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_header.html.liquid new file mode 100644 index 00000000..10434cfa --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_header.html.liquid @@ -0,0 +1,10 @@ +
+ {% t shared.event_types, key: training_event.event_type %} + +
+
+ + + + {{ training_event.title }} +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_mobile_view.html.liquid @@ -0,0 +1,22 @@ +
+
+ {% include "training_session_header" %} +
+ {% include "training_session_details" %} +
+ {% include "training_session_cta" %} +
+
+ +
+ {% include "training_session_description" %} +
+ +{% if training_event.sessions.size > 1 %} +
+
+ {% t shared.more_sessions %} +
+ {% include "training_session_more_sessions" %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_more_sessions.html.liquid @@ -0,0 +1,3 @@ +{% for session in training_event.sessions %} + {% include "training_session_tile", current_session: training_session %} +{% endfor %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/_training_session_tile.html.liquid @@ -0,0 +1,17 @@ +{% if current_session.id != session.id %} + + +
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+ +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/account.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/account.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} + +
+
+ {% include "account_mobile_view", form: form %} +
+ +
+ {% include "account_desktop_view", form: form %} +
+
+ +{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_email.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_employee.html.liquid @@ -0,0 +1,59 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ {% t shared.welcome_to_school, school_name: current_school.name %} +
+
+ {% t .headline, key: current_school.course_vocabulary %} +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_phone_number.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/auth_url_terms.html.liquid @@ -0,0 +1,74 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t shared.welcome_to_school, school_name: current_school.name %}
+
{% t .headline, key: current_school.course_vocabulary %}
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/catalog.html.liquid new file mode 100644 index 00000000..d7b380b8 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/catalog.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% include "sub_navigation" %} +
+
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} + + {% if courses.in_catalog.any? %} + {% + include "filter_dropdown", + filters: courses.filters, + key: "category_uuid", + label: label + %} + {% endif %} +
+ {% include "courses_catalog" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/course.html.liquid new file mode 100644 index 00000000..faad3a0f --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/course.html.liquid @@ -0,0 +1,97 @@ +{% if course.properties.skip_course_outline_page %} + +{% else %} + {% assign back_button_url = "/app/courses" %} + {% for category in course.categories %} + {% assign cat_name = category.name | replace: " ", "-" | downcase %} + {% assign back_button_url = '/app/courses#' | append: cat_name %} + {% endfor %} + +
+ + + +
{{ course.name }}
+
+ +
+
+
+
+ {{ course.name }} +
+
{{ course.name }}
+
{{ course.full_description }}
+
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} +
+
+
+
+
+ {% include "course_outline" %} +
+ +
+
+{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/courses.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/courses.html.liquid similarity index 97% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/courses.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/courses.html.liquid index 300e03db..8a9211e2 100644 --- a/Custom_Templates/customer_templates/Walmart Spark Sandbox/courses.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/courses.html.liquid @@ -17,7 +17,7 @@ {% assign resource_bundles_to_display = "" %} {% if features.learning_paths? %} - {% if enrolled_learning_paths.any? %} + {% if enrolled_learning_paths.any? %} {% if current_person.properties.access_level == "EXPERIENCED" %} {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_experienced | downcase %} {% elsif current_person.properties.access_level == "BEGINNER" %} @@ -62,7 +62,7 @@ {% for learning_path in enrolled_learning_paths %} {% assign lp_title_downcase = learning_path.name | downcase | strip | escape_once %} {% if lp_title_downcase contains bundle_name %} -
+
{% include "cards_learning_path" with learning_path, enrolled_courses: enrolled_courses %}
{% break %} @@ -106,4 +106,4 @@ hideWelcomeMessage(userData, schoolUuid) } }) - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/dashboard.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/dashboard.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/dashboard.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/faq.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/faq.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/faq.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/faq.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/forgot_password.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/homepage.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/homepage.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/homepage.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_path.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_path.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_path_summary.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/learning_path_summary.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_path_summary.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_paths.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_paths.html.liquid new file mode 100644 index 00000000..e6e10cba --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/login.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + + {% t shared.sign_up %} + + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/master.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/not_found.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/private_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/private_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/progress.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/progress.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/progress.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/progress.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/public_certificate.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/public_certificate.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/reset_password.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/search.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/search.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/search.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/search.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/sign_up.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/sign_up.html.liquid @@ -0,0 +1,72 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/styles.css.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/styles.css.liquid new file mode 100644 index 00000000..7386f452 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/styles.css.liquid @@ -0,0 +1,11 @@ + /* + Put your custom overlay styles in here + You can use your northpass color palette in this file + +{{ color_palette.button_font_color }} +{{ color_palette.button_color }} +{{ color_palette.button_hover_color }} +{{ color_palette.header_font_color }} +{{ color_palette.header_font_hover_color }} +{{ color_palette.header_color }} +*/ diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_events.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_events.html.liquid new file mode 100644 index 00000000..139717ee --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_events.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation" %} +
+
+
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_session.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_session.html.liquid @@ -0,0 +1,10 @@ +{% include "header" %} +
+
+ {% include "training_session_desktop_view" %} +
+
+ {% include "training_session_mobile_view" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {{ training_session.title }} +
+
+ {% t .info, + event_name: training_session.title, + session_date: training_session.date, + session_time: training_session.time + %} +
+
+ {% t .question %} +
+
+ {% form_authenticity_token %} + + + +
+
+ {% t .salutation %} +
+
+ {{ current_school.name }} +
+ {% else %} + +
+ {% t .success.response_text %} +
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox CatalogCourses/unsubscribe.html.liquid @@ -0,0 +1,30 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {% t .unsubscribe_text %} +
+
+ {% t .resubscribe_text %} +
+
+ {% form_authenticity_token %} + + +
+ {% else %} + +
+ {% t .resubscribed_text %} +
+ {% endif %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/.DS_Store b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/.DS_Store similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/.DS_Store rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/.DS_Store diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_course.html.liquid new file mode 100644 index 00000000..fd607507 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_course.html.liquid @@ -0,0 +1,39 @@ +{% capture course_label %}{% endcapture %} +{% capture course_data_label %}none{% endcapture %} +{% assign course_is_new = false %} +{% 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 %} +{% if course_is_new %} + {% if course.progress == 0 %} + {% capture course_label %}
New
{% endcapture %} + {% capture course_data_label %}new{% endcapture %} + {% endif %} +{% endif %} +{% if course.progress > 0 and course.progress < 100 %} + {% capture course_label %}
In progress
{% endcapture %} + {% capture course_data_label %}in-progress{% endcapture %} +{% elsif course.completed? %} + {% capture course_label %}
Viewed
{% endcapture %} + {% capture course_data_label %}viewed{% endcapture %} +{% endif %} + + +
+ {{ course.name }} +
+ + +
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} + {{course_label}} +
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_course_condensed.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_course_condensed.html.liquid new file mode 100644 index 00000000..b543f337 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_course_condensed.html.liquid @@ -0,0 +1,42 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +{% capture course_label %}{% endcapture %}{% capture course_data_label %}none{% endcapture %} + +{% assign is_new = false %} +{% 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 is_new = true %} +{% endif %} + +{% if is_new %} + {% if course.progress == 0 %} + {% capture course_label %}
New
{% endcapture %} + {% capture course_data_label %}new{% endcapture %} + {% endif %} +{% endif %} + +{% if course.progress > 0 and course.progress < 100 %} + {% capture course_label %}
In progress
{% endcapture %} + {% capture course_data_label %}in-progress{% endcapture %} +{% elsif course.completed? %} + {% capture course_label %}
Viewed
{% endcapture %} + {% capture course_data_label %}viewed{% endcapture %} +{% endif %} + + +
+
+
{{ course.name }}
+
+ {{ course.full_description }} +
+
+ {% if course.properties.course_length != 'NULL' %} +
{{ course.properties.course_length }}
+ {% endif %} +
{{course_label}}
+
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_faq.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_faq.html.liquid new file mode 100644 index 00000000..ccd33d60 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_faq.html.liquid @@ -0,0 +1,72 @@ +
+ +
+
+ {{course.full_description}} +
+
+
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_learning_path.html.liquid similarity index 93% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_learning_path.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_learning_path.html.liquid index e70a0779..9026d263 100644 --- a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_cards_learning_path.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_learning_path.html.liquid @@ -6,7 +6,7 @@
{{ learning_path.items.count }} resources
- · + · {% for item in learning_path.items %} {% if item.course? %} {% for enrolled_course in enrolled_courses %} @@ -16,10 +16,10 @@
{% endif %} {% endfor %} - {% endif %} + {% endif %} {% endfor %}
- \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_learning_path_condensed.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_learning_path_condensed.html.liquid new file mode 100644 index 00000000..74b6d9b1 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_cards_learning_path_condensed.html.liquid @@ -0,0 +1,25 @@ +{% capture course_label %}{% endcapture %} +{% capture course_data_label %}none{% endcapture %} + +{% if learning_path.progress > 0 and learning_path.progress < 100 %} + {% capture course_label %}
In progress
{% endcapture %} + {% capture course_data_label %}in-progress{% endcapture %} +{% elsif learning_path.completed? %} + {% capture course_label %}
Viewed
{% endcapture %} + {% capture course_data_label %}viewed{% endcapture %} +{% endif %} + + +
+
+
{{ learning_path.name }}
+
+ {{ learning_path.description | strip_html }} +
+
+
{{ learning_path.items.count }} resources
+
{{course_label}}
+
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_category_cards.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_category_cards.html.liquid new file mode 100644 index 00000000..205ce8d4 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_category_cards.html.liquid @@ -0,0 +1,55 @@ +{% if courses.enrolled.any? %}{% comment %} GETTING STARTED {% endcomment %}{% for school_category in school_categories %} {% if school_category == "Getting Started" %}
Getting Started Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} EARNINGS {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Earnings" %}
Earnings Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} SHOPPING & DELIVERY {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Shopping & Delivery" %}
Shopping & Delivery Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} DELIVERY {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Delivery" %}
Delivery Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} USING THE APP {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Using the App" %}
Using the App Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %}{% comment %} CONTACTING CUSTOMERS {% endcomment %}{% for school_category in school_categories %}{% if school_category == "Contacting Customers" %}
Contacting Customers Category Icon
New
{{school_category}}
{% include "filtered_courses_tray", category_name: school_category %}{% endif %}{% endfor %} + + {% comment %} NON SPECIFIED {% endcomment %} + {% for school_category in school_categories %} + {% unless school_category == "Getting Started" or school_category == "Earnings" or school_category == "Shopping & Delivery" or school_category == "Delivery" or school_category == "Using the App" or school_category == "Contacting Customers" %} + {% if school_category == "Resource Bundles" %} + {% if features.learning_paths? and learning_paths.enrolled.any? %} +
+
+
+ Category Icon +
+
+
Resource Bundles
+
+
+ +
+ {% include "filtered_learning_paths_tray", category_name: "Resource Bundles" %} + {% endif %} + {% else %} +
+
+
+ {% if school_category == "Arrival & Pick Up" %} + Category Icon + {% elsif school_category == "Drop Off & Returns" %} + Category Icon + {% elsif school_category == "Troubleshooting" %} + Category Icon + {% elsif school_category == "Trust & Safety" %} + Category Icon + {% elsif school_category == "Offer Acceptance" %} + Category Icon + {% elsif school_category == "Returns" %} + Category Icon + {% else %} + Category Icon + {% endif %} +
+
+
+
New
+
+
{{school_category}}
+
+
+ +
+ {% include "filtered_courses_tray", category_name: school_category %} + {% endif %} + {% endunless %} + {% endfor %} + +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..92db0be0 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_course_activity_unlocked.html.liquid @@ -0,0 +1 @@ +{{ activity.title }} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_course_outline.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_course_outline.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_course_outline.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_course_outline.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_filtered_courses_tray.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_filtered_courses_tray.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_filtered_courses_tray.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_filtered_courses_tray.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_filtered_learning_paths_tray.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_filtered_learning_paths_tray.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_filtered_learning_paths_tray.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_filtered_learning_paths_tray.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_head.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_head.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_head.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_head.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_mobile_header.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_mobile_header.html.liquid new file mode 100644 index 00000000..0d60cc9c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_mobile_header.html.liquid @@ -0,0 +1,4 @@ +
+ +
{{title}}
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/_search_result.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_search_result.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/_search_result.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_search_result.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_sub_navigation.html.liquid new file mode 100644 index 00000000..a5674de7 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/_sub_navigation.html.liquid @@ -0,0 +1,22 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox/course.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Walmart Spark Sandbox/course.html.liquid rename to Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/course.html.liquid diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/courses.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/courses.html.liquid new file mode 100644 index 00000000..445db5d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/courses.html.liquid @@ -0,0 +1,114 @@ +{% assign available_school_categories = '' | split: '' %} +{% assign enrolled_courses = courses.enrolled %} +{% for course in enrolled_courses %} + {% for cat in course.categories %} + {% assign cat_name = cat.name | split: '!@#$%^&*()' %} + {% assign available_school_categories = available_school_categories | concat: cat_name %} + {% endfor %} +{% endfor %} +{% assign enrolled_learning_paths = learning_paths.enrolled %} +{% for learning_path in enrolled_learning_paths %} + {% for lp_cat in learning_path.categories %} + {% assign lp_cat_name = lp_cat.name | split: '!@#$%^&*()' %} + {% assign available_school_categories = available_school_categories | concat: lp_cat_name %} + {% endfor %} +{% endfor %} +{% assign unique_school_categories = available_school_categories | uniq | sort %} + +{% assign resource_bundles_to_display = "" %} +{% if features.learning_paths? %} + {% if enrolled_learning_paths.any? %} + {% if current_person.properties.access_level == "EXPERIENCED" %} + {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_experienced | downcase %} + {% elsif current_person.properties.access_level == "BEGINNER" %} + {% assign resource_bundles_to_display = current_school.properties.featured_resource_bundles_beginner | downcase %} + {% endif %} + {% endif %} +{% endif %} + +{% assign resource_bundles_to_display_array = resource_bundles_to_display | split: "," %} + +{% capture icon %} + fa-arrow-left{% endcapture %} +{% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} + {% if current_school.properties.banner_toggle == true %} +
+ {{ current_school.properties.banner_text }} +
+ {% endif %} +{% include "sub_navigation" %} +
+ {% if current_person.signed_in? %} + + {% endif %} + {% if current_person.properties.show_welcome_message %} +
Questions? We can help! Check out these optional resources to get the most out of the Spark Driver™ app.
+ {% endif %} + {% if courses.enrolled.any? %} + + {% endif %} +
+ +
+ {% include "category_cards", school_categories: unique_school_categories %} +
+
+
+ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/dashboard.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/dashboard.html.liquid new file mode 100644 index 00000000..9f5bfecd --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/dashboard.html.liquid @@ -0,0 +1,3 @@ + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/faq.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/faq.html.liquid new file mode 100644 index 00000000..924ad91c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/faq.html.liquid @@ -0,0 +1,33 @@ +
+ {% include "header" %} +
+ +
+ {% capture icon %} + fa-arrow-left + {% endcapture %} + {% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} +
+{% include "sub_navigation" %} +
+{% if current_person.signed_in? %} + +{% endif %} +
+
+ {% if courses.enrolled.any? %} + {% for course in courses.enrolled %} + {% for cat in course.categories %} + {% if cat.name == "FAQ" %} + {% include "cards_faq" %} + {% endif %} + {% endfor %} + {% endfor %} + {% endif %} +
+
+
+
+{% include "footer" %} +
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/homepage.html.liquid new file mode 100644 index 00000000..5192dc75 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/homepage.html.liquid @@ -0,0 +1,4 @@ + + diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/learning_path.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/learning_path.html.liquid new file mode 100644 index 00000000..041179eb --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/learning_path.html.liquid @@ -0,0 +1,119 @@ +
+ {% 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 %} +
+
+
+ +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/learning_path_summary.html.liquid new file mode 100644 index 00000000..f52b3c85 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/learning_path_summary.html.liquid @@ -0,0 +1,112 @@ +
+ {% 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 = "" %} + {% for course in courses %} + {% if course.id == item.id %} + {% assign course_desc = course.short_description %} + {% assign course_length = course.properties.course_length %} + {% 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 %} +
+
+
+ +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/progress.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/progress.html.liquid new file mode 100644 index 00000000..2a938e16 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/progress.html.liquid @@ -0,0 +1,60 @@ +{% capture icon %} + fa-arrow-left +{% endcapture %} +{% include "mobile_header", title: "Resource Center", back_icon: icon, back_link: "javascript:sendMessage();" %} + +{% include "sub_navigation" %} + +
+
+
+ {% if courses.enrolled.any? %} + {% assign courses_in_progress = 0 %} + {% assign enrolled_courses = courses.enrolled %} + {% assign courses_ordered_by_progress = enrolled_courses | sort: "progress" %} + {% for course in courses_ordered_by_progress %} + + {% if course.progress > 0 %} + {% assign courses_in_progress = courses_in_progress | plus: 1 %} + {% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +
+
+ +
{{ course.name }}
+
+ {% if course.properties.course_length != 'NULL' %} +
+ {{ course.properties.course_length }} +
+ {% endif %} +
+ {% if course.progress > 0 and course.progress < 100 %} +
+ In progress +
+ {% elsif course.completed? %} +
+ Viewed +
+ {% endif %} +
+
+
+
+
+ {% endif %} + {% endfor %} + + {% if courses_in_progress == 0 %} +
+
+
+

You haven't viewed any resources yet.
Visit All Resources to see what's available.

+
+
+ {% endif %} + {% endif %} +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/search.html.liquid b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/search.html.liquid new file mode 100644 index 00000000..c5693a3d --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Spark Sandbox EnrolledCourses/search.html.liquid @@ -0,0 +1,55 @@ +{% assign enrolled_courses = courses.enrolled %} +{% include "mobile_header", title: "Search", back_icon: "fa-arrow-left", back_link: "javascript: goBack()" %} +{% include "sub_navigation" %} + +
+ +
+
+ {{ results.count }} + {% t .results_for %} + "{{ results.term }}" +
+
+ + {% if results.items.any? %} +
+ {% render "search_result" for results.items as result %} +
+ {% else %} +
+
+
+
+
+
No results found
+
Please try another search item.
+
+
+
+
+ {% endif %} +
+ + diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store b/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store deleted file mode 100644 index 5008ddfc..00000000 Binary files a/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store and /dev/null differ diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid index 4cb6c49d..90e2c9e4 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_header.html.liquid @@ -51,10 +51,10 @@ {% endfor %}
  • - Grow With Walmart + Start Here {% comment %}
    Crece Con Walmart Grow With Walmart @@ -235,6 +235,9 @@ {% include "messages" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/grow-with-walmart-catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/grow-with-walmart-catalog.html.liquid index 949d40bf..a70a2762 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/grow-with-walmart-catalog.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/grow-with-walmart-catalog.html.liquid @@ -39,3 +39,11 @@
    {% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid index ec647b2e..8f08e6a8 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/styles.css.liquid @@ -216,6 +216,9 @@ section { color: #fff; } .np-learning-path-outline-name { + color: #041E42; +} +.np-learning-path-outline-name-locked { color: #fff; } .slick-track { diff --git a/tmp.md b/tmp.md deleted file mode 100644 index 76861018..00000000 --- a/tmp.md +++ /dev/null @@ -1,20 +0,0 @@ -Here's the info for Ece and team: -[Here's a recording](https://share.zight.com/lluA9Nq5) of how we've enabled this for another customer. How it works is like this: -* There are two properties, one with the alert/banner copy, and a true/false for toggling if the banner should be hidden or not. This gives you guys control over the copy should you need to change what the alert says (see below). -* To show or hide the banner, simply go into the property and toggle it to true or false - true to show it, false to hide it. - -The above covers the way you can manually alert your drivers to something else going on in the Spark app. But this is where it gets really cool! Below, I'll share how you guys can update the banner and toggle it automatically. - -I've shared the payloads below, but this is super easy to implement. The engineering team really just needs one endpoint to both toggle the banner and update the copy. The endpoint is our [POST school properties values](https://developers.northpass.com/reference/patch_v2-properties-school) endpoint. (Note that Walmart uses `api2.northpass.com` and not api.northpass!) The use-case here would be that if a portion of the Spark app goes down, or there is enough disruption in other portions of the app, an automation triggers that fires one API call to the RC to show the banner and write some specific copy. - -Payload URL: `https://api2.northpass.com/v2/properties/school` -Example Payload: -``` -{ "data": { "attributes": { "properties": { - "alert-banner-copy": "Please pardon our disruptions!", - "showhide-alert-banner": "true" - } - } - } -} -``` diff --git a/tmp.xml b/tmp.xml deleted file mode 100644 index 7c29854a..00000000 --- a/tmp.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - https://api.lumafintech.com - - - - - - - - - - - - - 0dNX20uoaUCJeWXRl0/VBgslOsK11IbpqVUC7dhckc4= - - - XOxu2PsqLtvfgM++ijZmOQjkWbp5xZxtoIMMyPiRSyF2IudNhC12e79T8Q43TkXvKi9NscOu6fVtzPOw7ckFCyL5mCcx9z+C7vrsQlgn7/ZJ3Kzbm+FR4IKTeZGXEeDGrjxJz/TtoObxD8wcbZYrczw+twpJkXn1nCTP3KrzlhvXi9ViNX+49guXNUHJpg6l3KUfTM2jrB2TR6O83zpISGYri1hciI96yvy6/RKUwbCBkUp+ZxQ8BUVHNaCEFTlTIVPr7cJFN9nkyt7tGc46f5FvSNnrSdzQIoRovxzBvRBFVk9fzS9l8wN5dofNMEkiqr3F4QuizHSGy4b0pFfmSQ== - - - - - - https://api.lumafintech.com - - - - - - - - - - - - - qgH+68Wm743LpUuwIg61LQU1LM1sU+Seso+CC/oKYEE= - - - OJAEDVhk8UMqIn/v6znJE9f3zM1W+LIq4uCZaNYHlWNaeQyP25tJyx6UWxc8m/qttVa6aBjzvaGqm15BKh0KTWHqugXu09LLHZbzuJ9XLn+MYk8xdB1GrxB2+A6E5CTF4QXUPUbl5Sk48pr9AHkLkbSzQeZqqFwpUfAAWl6F+6T2gtPQUb+/FRvuiQSTy+zcPZzdgvNn1o17Ks/iDNo8FOdZ94TQOneUTDH3bITudJZ8gst9Tdj49NFZWYpd07sBhSxmX5v94De71lDvG0meE2pKquMGUDva2nJQOPAW0iJ5HO79vHF9ZzeaX8FccQ3MUeHx7HtEnQAw5cQi/TOm6Q== - - - gradientrep@lumatesting.com - - - - - - - https://app.schoolkeep.com - - - - - urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport - - - - - Gradient - - - Rep - - - gradientrep@lumatesting.com - - - db1b8bcd-9660-b0be-275587960ea7cf30 - - - {"groups":["Gradient Financial Group"]} - - - Gradient Rep - - - -