diff --git a/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_progress_and_cta.html.liquid index 35abd0b5..4b1b8ce7 100644 --- a/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_progress_and_cta.html.liquid +++ b/Custom_Templates/customer_templates/Cin7 Customers/_learning_path_progress_and_cta.html.liquid @@ -1,16 +1,24 @@ {% if learning_path.enrolled? %} -
-
- {% t shared.progress, count: learning_path.progress %} -
-
+ {% for category in learning_path.categories %} + {% if category.name contains "Deep Dive: Core" %} + {% endif %} {% if current_person.signed_in? == false %} Sign In {% else %} - {% learning_path_next_step_button learning_path, class: "lp-button" %} + {% learning_path_next_step_button learning_path, class: "lp-button" %} {% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_account_form.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_account_form.html.liquid new file mode 100644 index 00000000..81243d34 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_account_form.html.liquid @@ -0,0 +1,141 @@ +
+ {% 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/Cin7 Partners/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_account_tabs.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_account_tabs.html.liquid new file mode 100644 index 00000000..f4de6c8e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_account_tabs.html.liquid @@ -0,0 +1,23 @@ +{% capture settings_path %}{% route account %}{% endcapture %} +{% capture transcript_path %}{% route transcript %}{% endcapture %} + +{% if current_person.signed_in? %} +{% unless current_school.sso_active? %} + +{% endunless %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_badges_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_badges_cards.html.liquid new file mode 100644 index 00000000..27d9efc8 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_badges_cards.html.liquid @@ -0,0 +1,243 @@ + +{% assign completed_courses = 0 %} +{% for course in courses.enrolled %} + {% if course.progress == 100 %} + {% assign completed_courses = completed_courses | plus: 1 %} + {% endif %} +{% endfor %} + + +{% if omni %} + {% if completed_courses > 0%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 4 %} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 9 %} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 14 %} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 19 %} +
+
+ +
+
+ {% endif %} +{% endif %} +{% if core %} + {% if completed_courses > 0%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 4%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 9%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 14%} +
+
+ +
+
+ {% endif %} + {% if completed_courses > 19%} +
+
+ +
+
+ {% endif %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_cards_course.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_cards_course.html.liquid new file mode 100644 index 00000000..9d7d03b2 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_cards_course.html.liquid @@ -0,0 +1,37 @@ +
+{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +
+ {{ course.name }} + {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} +
+
+
COURSE
+

+ {{ course.name }} +

+
+ {{ course.short_description }} +
+
+ {% if course.properties.course_duration %} +
+ + {{course.properties.course_duration}} min +
+ {% endif %} +
+
+
+
+ diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_cards_learning_path.html.liquid new file mode 100644 index 00000000..a8f171fb --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_cards_learning_path.html.liquid @@ -0,0 +1,68 @@ +
+
+
+
+ {{ 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/Cin7 Partners/_cards_learning_path_homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_cards_learning_path_homepage.html.liquid new file mode 100644 index 00000000..6609a9ee --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_cards_learning_path_homepage.html.liquid @@ -0,0 +1,27 @@ +
+ +
+ {{ learning_path.name }} + {% if learning_path.name contains "Omni" or learning_path.name contains "Core"%} +
+ {% if learning_path.name contains "Omni" %} + Omni + {% elsif learning_path.name contains "Core" %} + Core + {% endif %} +
+ {%endif%} +
+
+
LEARNING PATH
+

+ {{ learning_path.name }} +

+
+
+
+ diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_cards_training_event.html.liquid new file mode 100644 index 00000000..e797417c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_cards_training_event.html.liquid @@ -0,0 +1,38 @@ +
+ +
+

+ {{ 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 %} + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_category_cards.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_category_cards.html.liquid new file mode 100644 index 00000000..4c5bc9d8 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_category_cards.html.liquid @@ -0,0 +1,12 @@ + + +
+ +
+
+

{{category.name}}

+
Browse all courses for {{category.name}}.
+
+
+ + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_category_cards_core.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_category_cards_core.html.liquid new file mode 100644 index 00000000..990b2b16 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_category_cards_core.html.liquid @@ -0,0 +1,25 @@ + + +
+
+ +
+
+

{{category.name | replace: ": Core", " Deep Dives"}}

+
Level up your expertise and enhance your operations with {{category.name | replace: ": Core", " Deep Dives"}}.
+
+
+
+ diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_category_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_category_carousel.html.liquid new file mode 100644 index 00000000..cc7f9cee --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_category_carousel.html.liquid @@ -0,0 +1,64 @@ +{% assign unique_category = "" %} +{% assign category_images = 'https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+1.png,https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+2.png,https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+3.png,https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images/Category+Icon+4.png' | split: ',' %} +{% assign category_counter = 0 %} + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_category_carousel_core.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_category_carousel_core.html.liquid new file mode 100644 index 00000000..18a1f61c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_category_carousel_core.html.liquid @@ -0,0 +1,64 @@ +{% assign unique_category = "" %} +{% assign category_images = 'https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Accounting+Deep+Dives+-+Thumbnails.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Administrative+Deep+Dives+-+Thumbnail.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Product+Management+Deep+Dives+-+Thumbnail.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Simple+Manufacturing+Deep+Dives+-+Thumbnail.png, https://s3.amazonaws.com/static.northpass.com/Cin7/categories+images+core+/Warehouse+Operations+Deep+Dives+-+Thumbnail.png' | split: ', ' %} +{% assign category_counter = 0 %} +{% assign core_categories = 'Warehouse Operations: Core, Admin: Core, Product Management: Core, Accounting: Core, Simple Manufacturing: Core' | split: ", " %} + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_categories.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_description.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_desktop_view.html.liquid new file mode 100644 index 00000000..6e30d32c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_desktop_view.html.liquid @@ -0,0 +1,65 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign redirect = false %} + +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + +{% if core and course.name contains 'Omni' %} + {% assign redirect = true %} +{% elsif omni and course.name contains 'Core' %} + {% assign redirect = true %} +{% endif %} + +{% if redirect %} + +{% endif %} + +
+
+
{{ course.name }}
+
+ +
+
+
+ {{ 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/Cin7 Partners/_course_events.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_header.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_header.html.liquid new file mode 100644 index 00000000..e5c22f09 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_outline.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..4d712024 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_progress_and_cta.html.liquid @@ -0,0 +1,54 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} +{% if current_person.signed_in? == false%} + + Sign In + +{% 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 %} +{% endif %} + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_courses_catalog.html.liquid new file mode 100644 index 00000000..cb4e36f5 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_courses_catalog.html.liquid @@ -0,0 +1,32 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} + {% if current_person.signed_in? %} + {% if omni %} + {% if course.name contains 'Omni' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% elsif core %} + {% if course.name contains 'Core' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endif %} + {% else %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% 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/Cin7 Partners/_courses_index.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_courses_index.html.liquid new file mode 100644 index 00000000..19e7671b --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_courses_zero_state.html.liquid new file mode 100644 index 00000000..26e371f7 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_courses_zero_state.html.liquid @@ -0,0 +1,6 @@ +
+
+ {{ message }} +
+ {{ message }} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_featured_courses.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_featured_courses.html.liquid new file mode 100644 index 00000000..7dcbd8db --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_featured_courses.html.liquid @@ -0,0 +1,84 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + + + + + + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_filter_dropdown.html.liquid new file mode 100644 index 00000000..e7a954bb --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_filter_dropdown.html.liquid @@ -0,0 +1,33 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_filter_select.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_filter_select.html.liquid new file mode 100644 index 00000000..d006c0df --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_filter_select.html.liquid @@ -0,0 +1,22 @@ +{% if params.q %} + +{% endif %} + + + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_filters_catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_filters_catalog.html.liquid new file mode 100644 index 00000000..d87db12a --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_filters_catalog.html.liquid @@ -0,0 +1,233 @@ +
Filters
+
+
+
Categories
+ {% if omni %} +
+ {% assign unique_omni_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% if category.name contains 'Omni' %} + {% unless unique_omni_categories contains category.name %} +
+ + +
+ {% assign unique_omni_categories = unique_omni_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endfor %} +
+ {% elsif core %} +
+ {% assign unique_core_categories = "" %} + {% for course in courses.in_catalog %} + {% if course.name contains '[Core]' %} + {% for category in course.categories %} + {% if category.name contains 'Core' %} + {% unless unique_core_categories contains category.name %} +
+ + +
+ {% assign unique_core_categories = unique_core_categories | append: category.name %} + {% endunless %} + {% endif %} + {% endfor %} + {% endif %} + {% endfor %} +
+ {%elsif log_out%} +
+ {% assign unique_core_categories = "" %} + {% for course in courses.in_catalog %} + {% for category in course.categories %} + {% unless unique_core_categories contains category.name %} +
+ + +
+ {% assign unique_core_categories = unique_core_categories | append: category.name %} + {% endunless %} + {% endfor %} + {% endfor %} +
+ {% endif %} +
+
+
Course Duration
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + + + + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_footer.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_footer.html.liquid new file mode 100644 index 00000000..47a37d30 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_footer.html.liquid @@ -0,0 +1,85 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_head.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_head.html.liquid new file mode 100644 index 00000000..bda0734b --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_head.html.liquid @@ -0,0 +1,41 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_header.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_header.html.liquid new file mode 100644 index 00000000..2365d15e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_header.html.liquid @@ -0,0 +1,262 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + +
+
+
+ {% 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/Cin7 Partners/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_homepage_testimonials.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_homepage_testimonials.html.liquid new file mode 100644 index 00000000..f1d95035 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_homepage_testimonials.html.liquid @@ -0,0 +1,55 @@ +{% if omni %} +
Empowering education for Connected Inventory Performance
+
+
+
+ +
+
In-depth learning
+
Created by our subject matter experts.
+
+
+
+ +
+
Always available
+
Choose when and what to learn at your own pace.
+
+
+
+ +
+
Designed for everyone
+
From basic to advanced, courses for your whole team.
+
+
+
+
+ {% elsif core or log_out%} +
Transformative education for Connected Inventory Performance
+
+
+
+ +
+
Dynamic courses
+
Developed by our product education professionals
+
+
+
+ +
+
Results-driven education
+
Designed for you to meet your business goals
+
+
+
+ +
+
User-centered
+
Supporting you through all stages of your journey
+
+
+
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_carousel.html.liquid new file mode 100644 index 00000000..f23ad37f --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_carousel.html.liquid @@ -0,0 +1,48 @@ + +{% assign counter = 0 %} + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_carousel_core.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_carousel_core.html.liquid new file mode 100644 index 00000000..93d3c9dc --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_carousel_core.html.liquid @@ -0,0 +1,49 @@ + +{% assign counter = 0 %} +{% assign learning_paths_core = '50e59300-af4f-40c5-8731-ee88284d8f0d, 3793a1a2-3efa-4cea-afa9-077585520476, a67a07df-f153-4dce-ae93-90f3d76e77df, cdb26bc8-cd06-48dc-b5c4-57349c27b03d, d7d7ff88-3419-4999-b209-13faea260939' | split: ', ' %} + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_course.html.liquid new file mode 100644 index 00000000..b59ad189 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_course.html.liquid @@ -0,0 +1,39 @@ +{% if learning_path.enrolled? and course.unlocked? %} + +
+
+
+ {{ course.name }} +
+
+ {% t shared.progress, count: course.progress %} +
+
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+
+
+ {{ course.name }} +
+
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_description.html.liquid new file mode 100644 index 00000000..fc290540 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ About this Learning Path +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..501e074d --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_content.html.liquid @@ -0,0 +1,47 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign redirect = false %} + +{% if current_person.signed_in? %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + +{% if core and learning_path.name contains 'Omni' %} + {% assign redirect = true %} +{% elsif omni and learning_path.name contains 'Core' %} + {% assign redirect = true %} +{% endif %} + +{% if redirect %} + +{% endif %} + +
+
+
+
+ {{ 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/Cin7 Partners/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..36a19fd1 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_header.html.liquid @@ -0,0 +1,5 @@ +
+
+ {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..35abd0b5 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,16 @@ +{% if learning_path.enrolled? %} +
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} +{% if current_person.signed_in? == false %} + + Sign In + + {% else %} + {% learning_path_next_step_button learning_path, class: "lp-button" %} +{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..ba599f95 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_path_training_session.html.liquid @@ -0,0 +1,50 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_learning_paths_index.html.liquid new file mode 100644 index 00000000..9e25c2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_learning_paths_index.html.liquid @@ -0,0 +1,22 @@ +
+ {% if items.any? %} + {% for learning_path in items %} + {% if core %} + {% if learning_path.name contains 'Core' %} + {% include "cards_learning_path" with learning_path %} + {% endif %} + {% elsif omni %} + {% if learning_path.name contains 'Omni'%} + {% include "cards_learning_path" with learning_path %} + {% endif %} + {% endif %} + {% endfor %} + {% else %} +
+
+ {% t .empty %} +
+ {% t .empty %} +
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_messages.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_my_badges_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_my_badges_carousel.html.liquid new file mode 100644 index 00000000..c1c8c46b --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_my_badges_carousel.html.liquid @@ -0,0 +1,63 @@ +{% assign completed_courses = 0 %} +{% for course in courses.enrolled %} + {% if course.progress == 100 %} + {% assign completed_courses = completed_courses | plus: 1 %} + {% endif %} +{% endfor %} + + + + + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_my_courses_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_my_courses_carousel.html.liquid new file mode 100644 index 00000000..5110d4ae --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_my_courses_carousel.html.liquid @@ -0,0 +1,64 @@ +{% assign counter = 0 %} + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths.html.liquid new file mode 100644 index 00000000..1ccb94da --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths.html.liquid @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths_and_courses_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths_and_courses_carousel.html.liquid new file mode 100644 index 00000000..7e8b934c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths_and_courses_carousel.html.liquid @@ -0,0 +1,67 @@ + +{% assign counter = 0 %} + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths_carousel.html.liquid new file mode 100644 index 00000000..8f462c43 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_my_learning_paths_carousel.html.liquid @@ -0,0 +1,65 @@ + +{% assign counter = 0 %} + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_omni_learning_paths_carousel.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_omni_learning_paths_carousel.html.liquid new file mode 100644 index 00000000..aff1ed29 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_omni_learning_paths_carousel.html.liquid @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_search_result.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_search_result.html.liquid new file mode 100644 index 00000000..80c6b7b7 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_search_result.html.liquid @@ -0,0 +1,50 @@ + + +{% if result.type == 'course' %} +{% if omni %} + {% if result.name contains 'Omni' %} +
+
+
+ {{ result.name }} +
+
+ + {{ result.name }} + +
+
{{ result.description }}
+
+
+
+
+{% endif %} +{% elsif core %} + {% if result.name contains 'Core' %} +
+
+
+ {{ result.name }} +
+
+ + {{ result.name }} + +
+
{{ result.description }}
+
+
+
+
+ {% endif %} + +{% endif %} +{%endif%} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_starting_learning_paths.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_starting_learning_paths.html.liquid new file mode 100644 index 00000000..17c4fdea --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_starting_learning_paths.html.liquid @@ -0,0 +1,11 @@ + +{% for learning_path in learning_paths.enrolled %} + {% for category in learning_path.categories %} + {% if category.name contains 'B2B: Core' %} +
+ {% include "cards_learning_path_homepage" with learning_path %} +
+ {% endif %} + {% endfor %} +{% endfor %} + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_sub_navigation.html.liquid new file mode 100644 index 00000000..46af698b --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_sub_navigation.html.liquid @@ -0,0 +1,30 @@ + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..cfc5d002 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_dashboard.html.liquid @@ -0,0 +1,71 @@ +{% comment %}
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} + {% endif %} +
{% endcomment %} + +{% assign counter = 0 %} + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_events_index.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_index.html.liquid new file mode 100644 index 00000000..1c332593 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_index.html.liquid @@ -0,0 +1,18 @@ +{% assign counter = 0 %} +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% assign counter = counter | plus: 1 %} + {% endfor %} +
+ {% endif %} + {% if counter == 0 %} +
+ +
+{% endif %} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_calendars.html.liquid new file mode 100644 index 00000000..ad67aef1 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_cta.html.liquid new file mode 100644 index 00000000..e8ef954f --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_date.html.liquid new file mode 100644 index 00000000..48694035 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..5c1abfec --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_details.html.liquid new file mode 100644 index 00000000..ae23b7ac --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_header.html.liquid new file mode 100644 index 00000000..f5408226 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..00455d4e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/_training_session_status.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_status.html.liquid new file mode 100644 index 00000000..75116282 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_status.html.liquid @@ -0,0 +1,6 @@ +
+ {% if training_session.approved? %} + + {% endif %} + {{ training_session.status.label }} +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/_training_session_tile.html.liquid new file mode 100644 index 00000000..e5ad8714 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/_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/Cin7 Partners/account.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/account.html.liquid new file mode 100644 index 00000000..2ad5d917 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/catalog.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/catalog.html.liquid new file mode 100644 index 00000000..36d800ed --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/catalog.html.liquid @@ -0,0 +1,70 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + + {% endfor %} +{% endif %} + +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} + +
+
+
Course Catalog
+
Get the skills and knowledge you need at the moment you need them. Explore our full course catalog.
+
+
+
+
+ {% include 'filters_catalog' %} +
+
+
+ {% include "courses_catalog" %} +
+
+
+{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/course.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/course.html.liquid new file mode 100644 index 00000000..4222a4b1 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/courses-category.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/courses-category.html.liquid new file mode 100644 index 00000000..59de387b --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/courses-category.html.liquid @@ -0,0 +1,16 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} + +
+
Course Catalog
+
+ Browse All Courses +
+
+
+ {% include 'category_cards' %} +
+
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/courses.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/courses.html.liquid new file mode 100644 index 00000000..a6e036af --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/courses.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} + +
+
+
+
{{ 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/Cin7 Partners/dashboard.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/dashboard.html.liquid new file mode 100644 index 00000000..e7951f87 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/dashboard.html.liquid @@ -0,0 +1,50 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} + + +
+
+
My Dashboard
+
Easily view your badges, start and resume courses and learning paths, and revisit courses you’ve completed here on your dashboard.
+
+
+
+
My Badges
+
+ {% include 'my_badges_carousel' %} +
+
+
+
My Courses & Paths in Progress
+
+ {% include 'my_learning_paths_and_courses_carousel' %} +
+
+
+
Completed Courses
+
+ {% include 'my_courses_carousel' %} +
+
+
+
My Live Events
+
+ {% include "training_events_dashboard" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/forgot_password.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid new file mode 100644 index 00000000..96798235 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/homepage.html.liquid @@ -0,0 +1,83 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + + +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+
+ {% if core %} +
Welcome to Cin7 Core Academy
+ {% elsif omni %} +
Welcome to Cin7 Omni Academy
+ {% elsif log_out %} +
Welcome to Cin7 Academy
+ {% else %} +
Welcome to Cin7 Academy
+ {% endif %} +
Develop your own expertise with Cin7 products to help your customers grow, automate, and improve their businesses.
+
+
+ +
+
+ {% if core %} +
Learn Cin7 Core by your function with Learning Paths
+
+ {% include 'learning_path_carousel_core' %} +
+
Grow and broaden your Cin7 Core expertise with Deep Dives
+
+ {% include "category_carousel_core"%} +
+ {% elsif omni %} +
New to Cin7 Omni? Start learning here!
+
+ {% include "category_carousel"%} +
+ {% elsif log_out %} +
Learn Cin7 Core by function with Learning Paths
+
+ {% include 'learning_path_carousel_core' %} +
+
Grow and broaden your Cin7 Core expertise with Deep Dives
+
+ {% include "category_carousel_core"%} +
+
Learn Cin7 Omni by module and features
+
+ {% include "category_carousel"%} +
+ {% endif %} +
+
+
Featured Courses: Integrations
+
+ {% include 'featured_courses' %} +
+
+ +
+
+
+ {% include 'homepage_testimonials' %} +
+
+ +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/learning_path.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/learning_path.html.liquid new file mode 100644 index 00000000..c5eb35af --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/learning_path_summary.html.liquid new file mode 100644 index 00000000..99ae32ed --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/learning_paths.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/learning_paths.html.liquid new file mode 100644 index 00000000..046a9398 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/learning_paths.html.liquid @@ -0,0 +1,68 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + +{% if log_out %} + +{% endif %} + +{% include "header" %} +
+
+
Learning Paths
+
Explore curated learning paths tailored to your function and role.
+
+
+
+
+ {% if current_person.signed_in? %} + {% include "learning_paths_index", items: learning_paths.available %} + {% else %} +
You must be signed in to view Learning Paths.
+ {% endif %} +
+
+{% include "footer" %} + + diff --git a/Custom_Templates/customer_templates/Cin7 Partners/login.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/login.html.liquid new file mode 100644 index 00000000..575ce32e --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + {% comment %} + {% t shared.sign_up %} + {% endcomment %} + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/master.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/master.html.liquid new file mode 100644 index 00000000..63345068 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/master.html.liquid @@ -0,0 +1 @@ +{% body %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/not_found.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/private_certificate.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/private_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/public_certificate.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/public_certificate.html.liquid new file mode 100644 index 00000000..15d05419 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/reset_password.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/reset_password.html.liquid new file mode 100644 index 00000000..12bf0d0f --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/search.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/search.html.liquid new file mode 100644 index 00000000..a6a43869 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/search.html.liquid @@ -0,0 +1,36 @@ +{% assign omni = false %} +{% assign core = false %} +{% assign log_out = true %} + +{% if current_person.signed_in? %} + {% assign log_out = false %} + {% for group in current_person.groups %} + {% if group.name contains 'Core' %} + {% assign core = true %} + {% elsif group.name contains 'Omni' %} + {% assign omni = true %} + {% endif %} + {% endfor %} +{% endif %} + + +{% include "header" %} +
+
+ {% t .title %} +
+
+
+ {% t .showing %} + {% comment %} {{ results.count }} {% endcomment %} + {% t .results_for %} + "{{ results.term }}" +
+
+ {% if results.items.any? %} + {% render "search_result" for results.items as result, core: core , omni: omni %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/sign_up.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/sign_up.html.liquid new file mode 100644 index 00000000..c4da7503 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/sign_up.html.liquid @@ -0,0 +1,73 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ {% comment %} + {% endcomment %} + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Cin7 Partners/styles.css.liquid b/Custom_Templates/customer_templates/Cin7 Partners/styles.css.liquid new file mode 100644 index 00000000..820ba0cb --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/styles.css.liquid @@ -0,0 +1,597 @@ + /* + 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 }} +*/ +body { + font-family: "Inter", sans-serif; + background: #fff; +} + +.lora { + font-family: 'Lora'; +} +.hero-text { + font-family: 'Lora'; +} +.np-header-desktop-nav-link { + font-weight: 700; +} +.np-header-desktop-nav-link:hover { + color: #002EFF; +} +.header-search-input { + border: 3px solid #002e6e; + border-radius: 8px; + max-width: 150px; +} +.note-desc { + font-size: 1vw +} +.hero-text { + font-size: 3.5rem; + font-weight: 400; +} +.hero-homepage { + background: linear-gradient(257.71deg, rgba(255, 255, 255, 0) 41.81%, #FFF 99.32%), url('https://s3.amazonaws.com/static.northpass.com/Cin7/1920x300.png'); + background-position: center; + background-size: cover; + padding: 5%; + color: #002f6f; +} +.hero-subheading { + margin-top: 2%; + font-size: 1.25rem; +} +.np-sub-navigation-content-item-active { + background: #002f6f !important; +} +.np-sub-navigation-content-item-link { + display: flex; + justify-content: center; + background: #05cbbf; + color: #fff; + padding: 15px; + border-radius: 8px; + font-weight: 700; +} +.sub-navigation { + background: #fff; + padding: 1rem 0; +} +.np-sub-navigation-content-item { + margin: 0 15px; +} +.info-icon { + width: 125px; + object-fit: cover; +} +.card { + border-radius: 25px; + background: #fff; + box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; +} +.learning-path-card-image { + width: 100%; + border-radius: 20px 20px 0 0; +} +.card-content-title { + color: #002f6f; + font-size: 1.25rem; + margin: 0; + height: 46px; +} +.course-time { + color: #000000b5; + display: flex; + align-items: center; + gap: 10px +} +.course-desc { + margin-top: 15px; + color: #002f6f; + height: 60px; +} +.lp-link { + text-decoration: none; +} +.slick-track { + margin-left: 0 !important; + margin-right: 0 !important; +} + +.section-lp { + background: #dde9fe; +} +.heading { + font-size: 2.5rem; + color: #002f6f; + padding: 2rem 0; + font-weight: 600; +} +.section { + padding: 1rem 0; +} +.section-featured { + background: #fff; +} + +.np-top-cta { + background: #fff; + border-radius: 20px; + box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; + display: flex; + justify-content: space-between; + align-items: center; +} + +.card-image { + position: relative; +} +.np-optional-ribbon { + background: #05CBBF; + color: #fff; + +} +.np-card-ribbon { + top: 0; + right: 0; + border-radius: 0 20px; + text-transform: none; + font-size: 0.85rem; + font-weight: 600; + padding: 5px 12.5px; + background: #05CBBF; +} + +.lp-progress-text { + font-weight: 700; + font-size: 1.5rem; +} +.lp-button { + background: #002f6f; + color: #fff; + padding: 15px 25px; + border-radius: 25px; + text-decoration: none; + font-weight: 700; + white-space: nowrap; + border: none; +} +.lp-button:hover { + background: #05CBBF; + color: #fff; +} +.lp-course-card { + margin: 30px 0; + background: #fff; + border-radius: 20px; + box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; + } +.learning-path-outline-content { + display: flex; + justify-content: space-between; + width: 100%; + align-items: center; + } + .learning-path-outline-progress { + font-weight: 600; + } + .lp-desktop-wrapper { + padding: 25px; + background: #fff; + box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; + border-radius: 20px; + margin-bottom: 20px; + } + .lp-progress-and-cta-wrapper { + margin-top: 20px; + } + .card { + margin: 10px; + } + + .right-arrow { + position: absolute; + bottom: -30px; + padding-left: 50px; + cursor: pointer; + right: 10px; + font-size: 1.5rem; + } + .left-arrow { + position: absolute; + bottom: -30px; + z-index: 1; + padding-left: 10px; + cursor: pointer; + right: 40px; + font-size: 1.5rem; + } + .heading-dashboard { + text-align: left; + font-size: 2.5rem; + color: #002f6f; + padding: 2rem 0; + font-weight: 600; + margin-left: 2rem; + } + + .my-learning-paths { + background: #fff; + } + + .my-courses { + background: #dde9fe; + } + + .my-events { + background: #4d98ff; + } + + .events { + background: #fff; + } + .card-container { + text-decoration: none; + } + .events-container { + display: flex; + margin: 0 20px; + } + + .catalog-button { + display: flex; + justify-content: center; + background: #002f6f; + color: #fff; + padding: 15px; + border-radius: 8px; + font-weight: 700; + text-decoration: none; + } + .catalog-button-container { + display: flex; + justify-content: flex-end; + } + .hero-catalog-category { + background: #f2ede8; + padding: 5% 20px; + } + .hero-text-catalog-category { + color: #002f6f; + font-size: 3.5rem; + font-weight: 700; + } + .card-learning-path-desktop { + border-radius: 40px; + } + .image-learning-path-desktop { + border-radius: 40px; + } + .category-wrapper { + + } + .category-container { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; + } + .category-link { + text-decoration: none; + font-size: 1.5rem; + font-weight: 500; + color: #002f6f; + background: #fff; + border: 3px solid; + border-radius: 20px; + padding: 2rem; + max-width: 1000px; + width: 100%; + margin: 10px 0; + } + .category-container { + margin: 20px 0; + } + .np-card-container { + border-radius: 25px; + box-shadow: none; + } + .np-learning-path-image { + border-bottom-left-radius: 20px; + border-top-left-radius: 20px; + width: 100% !important; + height: 100%; + } + .card-content { + background: #fff; + border-radius: 0 0 25px 25px; + padding: 1.5rem; + } + .catalog-btn { + background: #002f6f; + color: #fff; + padding: 15px 25px; + border-radius: 25px; + text-decoration: none; + font-weight: 700; + } + .button-wrapper { + display: flex; + justify-content: center; + padding: 2.5% 0; + } + .info { + display: flex; + align-items: center; + max-width: 400px; + gap: 5%; + } + .info-wrapper { + display: flex; + gap: 20px; + justify-content: space-between; + flex-wrap: wrap; + } + .info-heading { + color: #002f6f; + font-weight: 600; + font-size: 1.25rem; + } + .info-desc { + color: #002f6f; + font-size: 1rem; + margin-top: 5px; + } + + .np-footer-logo-image { + filter: none; + opacity: 1; + } + + .section-info { + background: linear-gradient(257.71deg, rgba(255, 255, 255, 0) 41.81%, #FFFFFF 99.32%), #F2EDE8; + } + + .np-footer { + background: url('https://s3.amazonaws.com/static.northpass.com/Cin7/Footer+background.png'); + background-size: cover; + background-repeat: round; + height: 28%; + } + .np-alert { + display: none; + } + + .footer-heading { + font-size: 1.25rem; + color: #fff; + font-weight: 700; + border-bottom: 1px solid #fff; + padding: 10px 0; + width: 150px; +} + .np-footer-navigation-link { + color: #fff; + font-weight: 500; + } + + .info-section-heading { + padding: 5% 0; + font-weight: 400; + } + .section-content-info { + padding-bottom: 5%; + } + .info-content { + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-evenly; + } + .np-footer-top { + display: flex; + flex-direction: row; + align-items:flex-start; + } + + .np-footer-navigation-list { + flex-direction: column; + gap: 10px; + align-items: flex-start; + } + .np-footer-navigation-link { + padding: 10px 0; + } + .np-footer-navigation { + min-height: 52px; + display: flex; + width: 100%; + justify-content: end; + padding: 0 5%; + } + .np-learning-path-outline-name { + font-weight: 600; + } + + .np-top-image { + border-radius: 25px; + } + + .content-lp-card-padding { + padding: 25px; + } + .np-card-heading, .np-learning-path-outline-name { + color: #002f6f; + } + .np-card-text { + color: #002f6f; + } + + .np-learning-path { + border-radius: 25px; + box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; + } + .np-learning-paths { + background: #fff; + } + .lp-heading { + font-size: 2.5rem; + color: #002f6f; + padding: 3rem 2rem; + font-weight: 500; + } +.category-card { + text-decoration: none; + height: auto !important; +} + +.page-content { + margin: 20px; +} + +.catalog-btn:hover { + background: #05CBBF; + color: #fff; + +} +.info-section-padding { + padding: 0 20px; +} +.zero-state-wrapper { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; +} +.zero-button-wrapper { + display: flex; +} +.zero-img { + max-width: 400px; +} +.badge-card-image { + width: 60%; +} +.card-badge { + background: #FFFFFF; + display: flex; + justify-content: center; + padding: 2rem; + border-radius: 20px 20px 0 0; +} +.card-category { + background: #002f6f; + display: flex; + justify-content: center; + padding: 2rem; + border-radius: 20px 20px 0 0; +} +.card-content-badge { + text-align: center; + padding: 0; +} +.completed-courses { + margin-top: 10px; + font-weight: 500; + color: #002f6f; +} +.np-header-desktop-nav-list { + justify-content: end; +} +.event-card { + max-width: 330px; +} +.recommended +{ + color: #000000b5; +} + +.card-type +{ + color: #000000b5; + text-align: end; + margin-bottom: 10px; + font-size: 0.85rem; + font-weight: 600; + opacity: 0.75; +} +.course-details { + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 15px; + gap: 10px +} + +.card:hover { + transform: translateY(-0.125rem); +} + +.card-category-core { + background: none; + padding: 0; +} +.card-category-image-core { + width: 100%; + border-radius: 20px 20px 0 0; +} + +@media only screen and (max-width: 768px) { + .hero-text { + font-size: 2.5rem; + } + .hero-subheading { + font-size: 1rem; + } + .heading, .heading-dashboard { + font-size: 2rem; + } + .info-section-heading { + text-align: center; + } + .info-wrapper { + justify-content: center; + } + .np-footer-navigation { + justify-content: flex-start; + } + .np-footer-navigation-link { + padding: 0; + margin: 10px; + } + .events-container { + justify-content: center; + } + .dropdown { + display: flex; + justify-content: flex-start; + position: relative; + margin-bottom: 20px; + } +} + +.core-category-wrapper { + display: flex; + flex-direction: column; + height: 100%; +} +.course-desc-category-core { + margin-top: 15px; + color: #002f6f; + height: 100%; + display: flex; + align-items: end; +} +.card-content-core { + display: flex; + flex-direction: column; + justify-content: space-between; +} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Cin7 Partners/training_events.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/training_events.html.liquid new file mode 100644 index 00000000..d39c0526 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/training_events.html.liquid @@ -0,0 +1,13 @@ +{% include "header" %} + +
+
+
Live Training Events
+
+
+
+
+ {% include "training_events_index" %} +
+
+{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/training_session.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/training_session.html.liquid new file mode 100644 index 00000000..5b78b834 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Cin7 Partners/transcript.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/transcript.html.liquid new file mode 100644 index 00000000..b6cb5428 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/transcript.html.liquid @@ -0,0 +1,8 @@ +{% include "header" %} +{% include "account_tabs" %} + +
+ {% transcript %} +
+ +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Cin7 Partners/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Cin7 Partners/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/Custom_Templates/customer_templates/Cin7 Partners/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/Sandata Learn/sign-up-follow-up.html.liquid b/Custom_Templates/customer_templates/Sandata Learn/sign-up-follow-up.html.liquid index 58fab2e6..73515f53 100644 --- a/Custom_Templates/customer_templates/Sandata Learn/sign-up-follow-up.html.liquid +++ b/Custom_Templates/customer_templates/Sandata Learn/sign-up-follow-up.html.liquid @@ -392,7 +392,13 @@ if(Object.keys(revisedPropsObj).length > 0){ let validationFlag = true; - let allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'oh_group_name', 'ca_group_name'] + if (revisedPropsObj['learner_state'] == 'Ohio') { + var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'oh_group_name']; + } else if (revisedPropsObj['learner_state'] == 'California') { + var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role', 'ca_group_name']; + } else { + var allRequiredFields = ['agency_name', 'medicaid_id', 'provider_id', 'learner_state', 'learner_role']; + } for(let i = 0; i < allRequiredFields.length; i++){ if(Object.keys(revisedPropsObj).indexOf(allRequiredFields[i]) == -1){ diff --git a/CustomerNotes/Anthology/Anthology.md b/CustomerNotes/Anthology/Anthology.md index 6a8b327f..1d7c7e75 100644 --- a/CustomerNotes/Anthology/Anthology.md +++ b/CustomerNotes/Anthology/Anthology.md @@ -353,7 +353,7 @@ Action Item: * Master CSV - Most important topic Katie has been spending her time explaining to everyone what a domain is.... -Every piece of copy needs to be _very_ excplicit +Every piece of copy needs to be _very_ explicit Anthology needs to make internal decisions on how they allow internal people to access the academy. Likes the idea of a deactivation and messaging screen. diff --git a/Scripts/API_Tests/get_courses_from_groups.py b/Scripts/API_Tests/get_courses_from_groups.py index 57f6ae29..82441a03 100644 --- a/Scripts/API_Tests/get_courses_from_groups.py +++ b/Scripts/API_Tests/get_courses_from_groups.py @@ -2,8 +2,9 @@ import Apikeys import requests import pprint import csv +import pandas as pd -pp= pprint.PrettyPrinter(indent=4) +pp = pprint.PrettyPrinter(indent=4) APIKEY = Apikeys.ANTHOLOGY HEADERS = { "accept": "application/json", @@ -11,66 +12,71 @@ HEADERS = { } BASEURL = "https://api.northpass.com/v2/" GROUPS = [ -"Accreditation", -"Anthology 101", -"Baseline", -"Course Evaluations", -"Engage", -"Evaluate", -"Finance & HCM", -"Learn", -"Portfolio", -"Power BI", -"Raise", -"Reach", -"Student", + "Accreditation", + "Anthology 101", + "Baseline", + "Course Evaluations", + "Engage", + "Evaluate", + "Finance & HCM", + "Learn", + "Portfolio", + "Power BI", + "Raise", + "Reach", + "Student", ] + def group_ids(): """ Get the group Ids from a list of named groups. """ url = "groups" + df = pd.DataFrame() + count = 0 + courses = [] + ids = [] for group in GROUPS: filter = f"?filter[name][cont]={group} - (" urlreq = f"{BASEURL}{url}{filter}" response = requests.get(urlreq, headers=HEADERS) response = response.json() - for data in response['data']: - print(data['attributes']['name']) - id = data['id'] - get_courses_in_groups(id) + for data in response["data"]: + group = data["attributes"]["name"] + id1 = data["id"] + group_tupe = (id1, group) + ids.append(group_tupe) -def get_courses_in_groups(id): - """ - From the IDs received above, list out all of the courses. - """ - count = 0 - courses = [] - while True: - # count += 1 - url = f"groups/{id}/courses?limit=100" - courseurl = f"{BASEURL}{url}" + for tupe in ids: + count += 1 + id = tupe[0] + group = tupe[1] + url2 = f"groups/{id}/courses?limit=100?page={count}" + courseurl = f"{BASEURL}{url2}" coursereq = requests.get(courseurl, headers=HEADERS) coursedata = coursereq.json() - # nextlink = coursedata['links'] - print(id) - # print(coursedata) - for data in coursedata['included']: - if data['attributes']['status'] == 'live': - name = data['attributes']['name'] - id = data['attributes']['share_course_link'].split("/")[5] - enrollments = data['attributes']['enrollments_count'] - created = data['attributes']['created_at'] - updated = data['attributes']['updated_at'] + for cdata in coursedata["included"]: + if cdata["attributes"]["status"] == "live": + name = cdata["attributes"]["name"] + courseid = cdata["attributes"]["share_course_link"].split("/")[5] + enrollments = cdata["attributes"]["enrollments_count"] + created = cdata["attributes"]["created_at"] + updated = cdata["attributes"]["updated_at"] coursedict = { - "name": name, "id": id, "enrollments": enrollments, - "created at": created, "updated at": updated + "group": group, + "name": name, + "id": courseid, + "enrollments": enrollments, + "created at": created, + "updated at": updated, } - courses.append(coursedict) - print(courses) + courses.append(coursedict) + + pddata = df.from_records(courses) + pddata.to_csv("~/Downloads/Anthology_Course_IDs_Names.csv") if __name__ == "__main__": diff --git a/Todos.md b/Todos.md index 902fc8fc..46c3cb24 100644 --- a/Todos.md +++ b/Todos.md @@ -222,4 +222,19 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 04-19-2024 -- [ ] Anthology - Extract CSV of all Courses & UUIDs. +- [X] Anthology - Extract CSV of all Courses & UUIDs. + +## 04-22-2024 + +- [ ] DataSnipper - Internal academy small changes +- [ ] DataSnipper - External CSQL for design changes. +- [ ] Papa - Header text on homepage. +- [ ] DV - Submit CSQL for custom salesforce integration +- [ ] Cin7 - Partner Academy Changes +- [ ] Cin7 - Test Mgr Permissions + - [ ] Can a manager create a course and retain management of it? + - [ ] Can a manager _clone_ a course and retain management of the new course? + - [ ] Can a manager create a group and retain management of it? +- [ ] Cin7 - Customer Academy, add multi-product group filtering --> Top priority +- [X] Cin7 - Employee Academy - remove progress for learning path for deep dive. +