From 3f0bd96040db6288feda00b5a45afc9f64825dfe Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Fri, 11 Jul 2025 13:51:31 -0400 Subject: [PATCH] Instacart, while still in implementation, came to their AE (J.Jones) with some access issues. Some of these templates don't work yet (internal server errors) but backing them up just in case --- .../Instacart/_account_avatar.html.liquid | 66 ++++ .../_account_desktop_view.html.liquid | 19 ++ .../Instacart/_account_form.html.liquid | 139 ++++++++ .../_account_mobile_view.html.liquid | 17 + .../Instacart/_account_tabs.html.liquid | 23 ++ .../_achievments_display.html.liquid | 19 ++ .../Instacart/_badge_icon.html.liquid | 46 +++ .../Instacart/_bundle_description.html.liquid | 6 + .../_bundle_desktop_header.html.liquid | 12 + .../_bundle_product_desktop_view.html.liquid | 21 ++ .../_bundle_product_mobile_view.html.liquid | 27 ++ .../_bundle_product_outline.html.liquid | 12 + .../Instacart/_cards_catalog_item.html.liquid | 38 +++ .../Instacart/_cards_course.html.liquid | 69 ++++ .../_cards_learning_path.html.liquid | 76 +++++ .../_cards_learning_path_custom.html.liquid | 76 +++++ .../_cards_training_event.html.liquid | 53 +++ .../Instacart/_carrot_button.html.liquid | 12 + .../_certificates_info_column.html.liquid | 4 + .../_certificates_metadata.html.liquid | 59 ++++ .../_certificates_preview.html.liquid | 35 ++ .../_certificates_top_bar.html.liquid | 44 +++ .../_certificates_verification.html.liquid | 15 + .../_course_activity_locked.html.liquid | 4 + .../_course_activity_unlocked.html.liquid | 15 + .../Instacart/_course_categories.html.liquid | 10 + .../Instacart/_course_description.html.liquid | 6 + .../_course_desktop_view.html.liquid | 40 +++ .../Instacart/_course_events.html.liquid | 28 ++ .../Instacart/_course_header.html.liquid | 16 + .../Instacart/_course_instructors.html.liquid | 22 ++ .../Instacart/_course_mobile_view.html.liquid | 40 +++ .../Instacart/_course_outline.html.liquid | 40 +++ .../_course_product_desktop_view.html.liquid | 41 +++ .../_course_product_mobile_view.html.liquid | 31 ++ .../_course_progress_and_cta.html.liquid | 46 +++ ..._course_version_outdated_alert.html.liquid | 7 + ..._course_version_outdated_popup.html.liquid | 33 ++ .../Instacart/_courses_carousel.html.liquid | 125 +++++++ .../Instacart/_courses_catalog.html.liquid | 194 +++++++++++ .../Instacart/_courses_index.html.liquid | 17 + .../Instacart/_courses_zero_state.html.liquid | 11 + .../_filter_category_select.html.liquid | 17 + .../Instacart/_filter_checkbox.html.liquid | 10 + .../Instacart/_filter_dropdown.html.liquid | 36 ++ .../Instacart/_filter_select.html.liquid | 25 ++ .../Instacart/_footer.html.liquid | 45 +++ .../Instacart/_head.html.liquid | 20 ++ .../Instacart/_header.html.liquid | 307 ++++++++++++++++++ .../Instacart/_header_minimal.html.liquid | 17 + .../Instacart/_language_selector.html.liquid | 83 +++++ .../_learning_path_banners.html.liquid | 5 + .../_learning_path_certificate.html.liquid | 17 + ...rning_path_certificate_content.html.liquid | 19 ++ ...learning_path_completed_banner.html.liquid | 13 + .../_learning_path_course.html.liquid | 56 ++++ .../_learning_path_description.html.liquid | 6 + ..._learning_path_desktop_content.html.liquid | 21 ++ .../_learning_path_desktop_header.html.liquid | 12 + .../_learning_path_desktop_view.html.liquid | 2 + .../_learning_path_instructors.html.liquid | 26 ++ .../_learning_path_mobile_content.html.liquid | 19 ++ .../_learning_path_mobile_header.html.liquid | 17 + .../_learning_path_mobile_view.html.liquid | 2 + ...arning_path_new_content_banner.html.liquid | 12 + .../_learning_path_outline.html.liquid | 10 + ...ning_path_product_desktop_view.html.liquid | 22 ++ ...rning_path_product_mobile_view.html.liquid | 34 ++ ..._learning_path_product_outline.html.liquid | 10 + ...learning_path_progress_and_cta.html.liquid | 20 ++ ...ning_path_summary_desktop_view.html.liquid | 3 + ...rning_path_summary_mobile_view.html.liquid | 5 + ...learning_path_training_session.html.liquid | 53 +++ .../_learning_paths_carousel.html.liquid | 125 +++++++ .../_learning_paths_index.html.liquid | 47 +++ .../Instacart/_messages.html.liquid | 19 ++ .../_product_expiration_date.html.liquid | 7 + .../Instacart/_product_outline.html.liquid | 25 ++ .../_product_outline_course.html.liquid | 82 +++++ .../_product_outline_event.html.liquid | 49 +++ .../Instacart/_product_outline_lp.html.liquid | 65 ++++ .../_product_price_and_cta.html.liquid | 12 + .../Instacart/_search_result.html.liquid | 19 ++ .../Instacart/_search_zero_state.html.liquid | 13 + .../Instacart/_sub_navigation.html.liquid | 93 ++++++ .../Instacart/_subheader_search.html.liquid | 49 +++ .../_training_event_desktop_view.html.liquid | 42 +++ .../_training_event_mobile_view.html.liquid | 23 ++ ...ing_event_preview_desktop_view.html.liquid | 42 +++ ...ning_event_preview_mobile_view.html.liquid | 23 ++ ...ng_event_preview_more_sessions.html.liquid | 3 + ...ing_event_preview_session_tile.html.liquid | 18 + .../_training_events_dashboard.html.liquid | 9 + .../_training_events_filter.html.liquid | 53 +++ .../_training_events_index.html.liquid | 13 + .../_training_events_zero_state.html.liquid | 9 + .../_training_session_calendars.html.liquid | 52 +++ .../_training_session_cta.html.liquid | 35 ++ .../_training_session_date.html.liquid | 16 + .../_training_session_description.html.liquid | 6 + ..._training_session_desktop_view.html.liquid | 43 +++ .../_training_session_details.html.liquid | 23 ++ .../_training_session_header.html.liquid | 10 + .../_training_session_mobile_view.html.liquid | 27 ++ ...training_session_more_sessions.html.liquid | 3 + .../_training_session_status.html.liquid | 6 + .../_training_session_tile.html.liquid | 24 ++ .../Instacart/account.html.liquid | 15 + .../Instacart/auth_url_email.html.liquid | 59 ++++ .../Instacart/auth_url_employee.html.liquid | 59 ++++ .../auth_url_phone_number.html.liquid | 40 +++ .../Instacart/auth_url_terms.html.liquid | 74 +++++ .../Instacart/bundle_product.html.liquid | 9 + .../Instacart/catalog.html.liquid | 54 +++ .../Instacart/commerce_cart.html.liquid | 5 + .../Instacart/commerce_catalog.html.liquid | 28 ++ .../Instacart/commerce_checkout.html.liquid | 5 + .../commerce_order_details.html.liquid | 5 + .../commerce_order_history.html.liquid | 7 + .../Instacart/commerce_redeem.html.liquid | 5 + .../Instacart/commerce_return.html.liquid | 5 + .../Instacart/course.html.liquid | 9 + .../Instacart/course_product.html.liquid | 9 + .../Instacart/courses.html.liquid | 13 + .../Instacart/dashboard.html.liquid | 97 ++++++ .../Instacart/forgot_password.html.liquid | 25 ++ .../Instacart/homepage.html.liquid | 45 +++ .../Instacart/learning_path.html.liquid | 9 + .../learning_path_product.html.liquid | 9 + .../learning_path_summary.html.liquid | 9 + .../Instacart/learning_paths.html.liquid | 52 +++ .../Instacart/login.html.liquid | 53 +++ .../Instacart/master.html.liquid | 61 ++++ .../Instacart/not_found.html.liquid | 10 + .../Instacart/private_certificate.html.liquid | 9 + .../Instacart/public_certificate.html.liquid | 9 + .../Instacart/reset_password.html.liquid | 43 +++ .../Instacart/search.html.liquid | 24 ++ .../Instacart/sign_up.html.liquid | 72 ++++ .../Instacart/styles.css.liquid | 284 ++++++++++++++++ .../training_event_preview.html.liquid | 11 + .../Instacart/training_events.html.liquid | 17 + .../Instacart/training_session.html.liquid | 9 + .../training_session_attendance.html.liquid | 43 +++ .../Instacart/transcript.html.liquid | 7 + .../Instacart/unsubscribe.html.liquid | 35 ++ 146 files changed, 4977 insertions(+) create mode 100644 Custom_Templates/customer_templates/Instacart/_account_avatar.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_account_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_account_form.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_account_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_account_tabs.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_achievments_display.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_badge_icon.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_bundle_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_bundle_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_bundle_product_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_bundle_product_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_bundle_product_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_cards_catalog_item.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_cards_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_cards_learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_cards_learning_path_custom.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_cards_training_event.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_carrot_button.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_certificates_info_column.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_certificates_metadata.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_certificates_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_certificates_top_bar.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_certificates_verification.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_activity_locked.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_activity_unlocked.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_categories.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_product_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_product_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_version_outdated_alert.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_course_version_outdated_popup.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_courses_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_courses_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_courses_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_courses_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_filter_category_select.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_filter_checkbox.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_filter_dropdown.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_filter_select.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_footer.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_head.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_header_minimal.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_language_selector.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_banners.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_certificate_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_completed_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_desktop_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_desktop_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_instructors.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_mobile_content.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_mobile_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_new_content_banner.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_product_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_product_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_product_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_progress_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_summary_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_summary_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_path_training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_paths_carousel.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_learning_paths_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_messages.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_product_expiration_date.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_product_outline.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_product_outline_course.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_product_outline_event.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_product_outline_lp.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_product_price_and_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_search_result.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_search_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_sub_navigation.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_subheader_search.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_event_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_event_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_event_preview_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_event_preview_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_event_preview_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_event_preview_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_events_dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_events_filter.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_events_index.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_events_zero_state.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_calendars.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_cta.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_date.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_description.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_desktop_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_header.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_mobile_view.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_more_sessions.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_status.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/_training_session_tile.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/account.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/auth_url_email.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/auth_url_employee.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/auth_url_phone_number.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/auth_url_terms.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/bundle_product.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_cart.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_catalog.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_checkout.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_order_details.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_order_history.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_redeem.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/commerce_return.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/course.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/course_product.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/courses.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/dashboard.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/forgot_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/homepage.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/learning_path.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/learning_path_product.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/learning_path_summary.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/learning_paths.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/login.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/master.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/not_found.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/private_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/public_certificate.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/reset_password.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/search.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/sign_up.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/styles.css.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/training_event_preview.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/training_events.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/training_session.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/training_session_attendance.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/transcript.html.liquid create mode 100644 Custom_Templates/customer_templates/Instacart/unsubscribe.html.liquid diff --git a/Custom_Templates/customer_templates/Instacart/_account_avatar.html.liquid b/Custom_Templates/customer_templates/Instacart/_account_avatar.html.liquid new file mode 100644 index 00000000..d952af93 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_account_avatar.html.liquid @@ -0,0 +1,66 @@ +
+

{% t .description %}

+

{% t .requirements %}

+
+ + + + +
+
+ +
+ +
+ +
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_account_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_account_desktop_view.html.liquid new file mode 100644 index 00000000..8ae8599d --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_account_desktop_view.html.liquid @@ -0,0 +1,19 @@ +
+ + {% form_authenticity_token %} +
+
+
+ + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_account_form.html.liquid b/Custom_Templates/customer_templates/Instacart/_account_form.html.liquid new file mode 100644 index 00000000..ddd264c2 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_account_form.html.liquid @@ -0,0 +1,139 @@ +
+ {% t .header %} +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+ +
+ + +
+{% endunless %} + +{% if form.options.invite? %} +
+ + +
+ + {% if form.terms_of_service_required? %} +
+ +
+ {% t .terms_of_service %} + + {% t .terms_link %} + +
+
+ {% else %} +
+ + {% t .terms %} + + {% t .terms_link %} + + +
+ {% endif %} + + +{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/_account_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_account_mobile_view.html.liquid new file mode 100644 index 00000000..6ac8c007 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_account_mobile_view.html.liquid @@ -0,0 +1,17 @@ +
+ + {% form_authenticity_token %} + + + +
diff --git a/Custom_Templates/customer_templates/Instacart/_account_tabs.html.liquid b/Custom_Templates/customer_templates/Instacart/_account_tabs.html.liquid new file mode 100644 index 00000000..f4de6c8e --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_achievments_display.html.liquid b/Custom_Templates/customer_templates/Instacart/_achievments_display.html.liquid new file mode 100644 index 00000000..1f9dc8e7 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_achievments_display.html.liquid @@ -0,0 +1,19 @@ +
+ {% comment %} TODO: display array after implementig gamification {% endcomment %} + {% include "badge_icon" + , badgeimg: 'https://s3.us-east-1.amazonaws.com/static.northpass.com/Instacart/medal.png' + , badgename: '' + , showname: false %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_badge_icon.html.liquid b/Custom_Templates/customer_templates/Instacart/_badge_icon.html.liquid new file mode 100644 index 00000000..80d292a2 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_badge_icon.html.liquid @@ -0,0 +1,46 @@ +
+
+ +
+ {% if showname %} +
{{ badgename }}
+ {% endif %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_bundle_description.html.liquid b/Custom_Templates/customer_templates/Instacart/_bundle_description.html.liquid new file mode 100644 index 00000000..e7e891ca --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_bundle_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ product.description }} +
diff --git a/Custom_Templates/customer_templates/Instacart/_bundle_desktop_header.html.liquid b/Custom_Templates/customer_templates/Instacart/_bundle_desktop_header.html.liquid new file mode 100644 index 00000000..6fb22dec --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_bundle_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.product_types.bundle %} + +
+
+ + + + {{ product.name }} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_bundle_product_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_bundle_product_desktop_view.html.liquid new file mode 100644 index 00000000..66f57bdc --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_bundle_product_desktop_view.html.liquid @@ -0,0 +1,21 @@ +{% include "bundle_desktop_header" %} +
+
+
+ {{ product.name }} +
+ {% include "bundle_description" %} +
+
+
+
+
+ {% include "product_price_and_cta"%} +
+ {% include "bundle_product_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_bundle_product_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_bundle_product_mobile_view.html.liquid new file mode 100644 index 00000000..89272b6d --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_bundle_product_mobile_view.html.liquid @@ -0,0 +1,27 @@ +
+
+ {% t shared.product_types.bundle %} +
+
+ + + + {{ product.name }} +
+ {{ product.name }} +
+ {% include "product_price_and_cta" %} +
+
+ +
+ {% include "bundle_description" %} +
+ +
+ {% include "bundle_product_outline" %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_bundle_product_outline.html.liquid b/Custom_Templates/customer_templates/Instacart/_bundle_product_outline.html.liquid new file mode 100644 index 00000000..9fc22512 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_bundle_product_outline.html.liquid @@ -0,0 +1,12 @@ +
+

{% t shared.bundle.title %}

+ {% for item in product.bundle_items %} + {% if item.course? %} + {% include "product_outline_course", id: forloop.index %} + {% elsif item.training_event? %} + {% include "product_outline_event", id: forloop.index %} + {% elsif item.learning_path? %} + {% include "product_outline_lp", id: forloop.index %} + {% endif %} + {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_cards_catalog_item.html.liquid b/Custom_Templates/customer_templates/Instacart/_cards_catalog_item.html.liquid new file mode 100644 index 00000000..a096f57c --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_cards_catalog_item.html.liquid @@ -0,0 +1,38 @@ +
+
+ {{ item.name }} +
+

+ {{ item.name }} +

+
+ +

{{ item.formatted_type }}

+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_cards_course.html.liquid b/Custom_Templates/customer_templates/Instacart/_cards_course.html.liquid new file mode 100644 index 00000000..8ca20276 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_cards_course.html.liquid @@ -0,0 +1,69 @@ +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+
+ + {{ course.properties.course_rating | round: 1 }} +
+

+ {{ course.name }} +

+
+ + {{ course.properties.course_duration }} +
+ + + +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Instacart/_cards_learning_path.html.liquid new file mode 100644 index 00000000..485d3235 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_cards_learning_path.html.liquid @@ -0,0 +1,76 @@ +
+
+
+ {{ 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 %} +
+ +
+
+
+ + +
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_cards_learning_path_custom.html.liquid b/Custom_Templates/customer_templates/Instacart/_cards_learning_path_custom.html.liquid new file mode 100644 index 00000000..1e5b14c3 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_cards_learning_path_custom.html.liquid @@ -0,0 +1,76 @@ +
+
+
+ {{ learning_path.name }} +
+
+ +
{% t shared.learning_path.title %}
+
+ {% if learning_path.items.count == 0 %} + No Lessons + No hay lecciones + {% elsif learning_path.items.count == 1 %} + 1 Lesson + 1 Lección + {% else %} + {{ learning_path.items.count }} Lessons + {{ learning_path.items.count }} Lecciones + {% endif %} + +
+
+
+

+ {{ learning_path.name }} +

+ +
+ {{ learning_path.instructor_names }} +
+ + +
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Instacart/_cards_training_event.html.liquid new file mode 100644 index 00000000..b2f19148 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_cards_training_event.html.liquid @@ -0,0 +1,53 @@ +
+
+
+

+ {{ training_event.title }} +

+
+ + {% t shared.event_types, key: training_event.event_type %} + + + + {% t .sessions, count: training_event.sessions.size %} + +
+
+ +
+
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+ +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_carrot_button.html.liquid b/Custom_Templates/customer_templates/Instacart/_carrot_button.html.liquid new file mode 100644 index 00000000..1fb85dd6 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_carrot_button.html.liquid @@ -0,0 +1,12 @@ +
+ + {% if buttonTextEs %} + {{ buttonText }} + {{ buttonTextEs }} + {% else %} + {{ buttonText }} + {% endif %} + +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_certificates_info_column.html.liquid b/Custom_Templates/customer_templates/Instacart/_certificates_info_column.html.liquid new file mode 100644 index 00000000..61adfaba --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_certificates_info_column.html.liquid @@ -0,0 +1,4 @@ +
+ {% include "certificates_verification" %} + {% include "certificates_metadata" %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_certificates_metadata.html.liquid b/Custom_Templates/customer_templates/Instacart/_certificates_metadata.html.liquid new file mode 100644 index 00000000..9f4a1dba --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_certificates_metadata.html.liquid @@ -0,0 +1,59 @@ +
+
+ +
+ + {% if certificate.issuer_name_enabled? %} + +
+ {% endif %} + + +
+ +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_certificates_preview.html.liquid b/Custom_Templates/customer_templates/Instacart/_certificates_preview.html.liquid new file mode 100644 index 00000000..6357b621 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_certificates_preview.html.liquid @@ -0,0 +1,35 @@ + + +
+
+
+ +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_certificates_top_bar.html.liquid b/Custom_Templates/customer_templates/Instacart/_certificates_top_bar.html.liquid new file mode 100644 index 00000000..74a7ae41 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_certificates_verification.html.liquid b/Custom_Templates/customer_templates/Instacart/_certificates_verification.html.liquid new file mode 100644 index 00000000..4fc19415 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_certificates_verification.html.liquid @@ -0,0 +1,15 @@ +
+
+
+ +
+
+

+ {{certificate.verification_title}} +

+

+ {{certificate.verification_description}} +

+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_course_activity_locked.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_activity_locked.html.liquid new file mode 100644 index 00000000..386393d5 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_activity_locked.html.liquid @@ -0,0 +1,4 @@ + + + {{ activity.title }} + diff --git a/Custom_Templates/customer_templates/Instacart/_course_activity_unlocked.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_activity_unlocked.html.liquid new file mode 100644 index 00000000..30c03305 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_categories.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_categories.html.liquid new file mode 100644 index 00000000..6cfe9010 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_description.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_description.html.liquid new file mode 100644 index 00000000..269f9216 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_desktop_view.html.liquid new file mode 100644 index 00000000..e16fee16 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_desktop_view.html.liquid @@ -0,0 +1,40 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+
+
+ {% include "course_progress_and_cta" %} +
+ {% include "course_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_course_events.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_events.html.liquid new file mode 100644 index 00000000..5fa80eef --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_header.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_header.html.liquid new file mode 100644 index 00000000..84820ec4 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_header.html.liquid @@ -0,0 +1,16 @@ +
+ {{ current_school.course_vocabulary }} + + +
+
+ + + + {{ course.name }} +
+{{ course.name }} diff --git a/Custom_Templates/customer_templates/Instacart/_course_instructors.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_instructors.html.liquid new file mode 100644 index 00000000..8b608928 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_mobile_view.html.liquid new file mode 100644 index 00000000..7f31ff35 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_outline.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_outline.html.liquid new file mode 100644 index 00000000..72f97e79 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_course_product_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_product_desktop_view.html.liquid new file mode 100644 index 00000000..ae8d50de --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_product_desktop_view.html.liquid @@ -0,0 +1,41 @@ +
+
+ {% include "course_header" %} +
+
+
+
+ {{ course.name }} + {% include "course_description" %} + + {% if course.categories.any? %} +
+ {% include "course_categories" %} +
+ {% endif %} + + {% if course.instructors.any? %} +
+ {% include "course_instructors" %} +
+ {% endif %} + + {% if course.events.any? %} +
+ {% include "course_events" %} +
+ {% endif %} +
+ +
+
+ {% include "product_price_and_cta" %} +
+ {% include "product_outline" %} +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_course_product_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_product_mobile_view.html.liquid new file mode 100644 index 00000000..880a0f24 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_product_mobile_view.html.liquid @@ -0,0 +1,31 @@ +
+ {% include "course_header" %} +
+ {% include "product_price_and_cta" %} +
+
+ +
+ {% include "course_description" %} +
+
+ {% include "product_outline" %} +
+ +{% 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/Instacart/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..1c3db9fa --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_progress_and_cta.html.liquid @@ -0,0 +1,46 @@ +
+
+ {% t .header %} +
+
+
+
+
+ +
+ {% t shared.progress, count: course.progress %} +
+
+ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + diff --git a/Custom_Templates/customer_templates/Instacart/_course_version_outdated_alert.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/_course_version_outdated_popup.html.liquid b/Custom_Templates/customer_templates/Instacart/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
+
+ + +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_courses_carousel.html.liquid b/Custom_Templates/customer_templates/Instacart/_courses_carousel.html.liquid new file mode 100644 index 00000000..3d3f6c34 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_courses_carousel.html.liquid @@ -0,0 +1,125 @@ + + + +{% assign filterInProgress = filterInProgress | default: false %} +{% assign sortByPriority = sortByPriority | default: false %} +{% assign displayedCount = 0 %} + +{% if items.any? %} + + {% if displayedCount == 0 %} + {% include "courses_zero_state" + , message: 'Nothing found! Start some lessons to fill this gap.' + , messageEs: '¡Nada encontrado! Comienza algunas lecciones para llenar este vacío.' %} + {% endif %} +{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state" + , message: message %} +{% endif %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Instacart/_courses_catalog.html.liquid new file mode 100644 index 00000000..a3ea67e1 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_courses_catalog.html.liquid @@ -0,0 +1,194 @@ +{% assign filterInProgress = filterInProgress | default: false %} + +{% if courseslist.any? %} +
+ + {% assign visibleCount = 0 %} + {% assign totalCount = 0 %} + + {% comment %} + We want to count how many courses will be shown (after filter if used), + and keep track of how many are visible initially (up to 4). + {% endcomment %} + + {% for course in courseslist %} + {% if filterInProgress %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign totalCount = totalCount | plus: 1 %} + {% endif %} + {% else %} + {% assign totalCount = totalCount | plus: 1 %} + {% endif %} + {% endfor %} + + {% for course in courseslist %} + {% if filterInProgress %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign visibleCount = visibleCount | plus: 1 %} +
4 %} + style="display: none;" + {% endif %}> + {% include "cards_course" with course %} +
+ {% endif %} + {% else %} + {% assign visibleCount = visibleCount | plus: 1 %} +
4 %} + style="display: none;" + {% endif %}> + {% include "cards_course" with course %} +
+ {% endif %} + + {% endfor %} + + {% if totalCount > 4 %} +
+ See More + Ver Más +
+ {% endif %} + + {% if visibleCount == 0 %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state" + , message: 'Nothing found! Start some lessons to fill this gap.' + , messageEs: '¡Nada encontrado! Comienza algunas lecciones para llenar este vacío.' %} + {% endif %} + +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state" + , message: message %} +{% endif %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_courses_index.html.liquid b/Custom_Templates/customer_templates/Instacart/_courses_index.html.liquid new file mode 100644 index 00000000..4a9d1588 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_courses_index.html.liquid @@ -0,0 +1,17 @@ +{% 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 %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_courses_zero_state.html.liquid b/Custom_Templates/customer_templates/Instacart/_courses_zero_state.html.liquid new file mode 100644 index 00000000..8815a4b5 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_courses_zero_state.html.liquid @@ -0,0 +1,11 @@ +
+
+ {% if messageEs %} + {{ message }} + {{ messageEs }} + {% else %} + {{ message }} + {% endif %} +
+ {{ message }} +
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_filter_category_select.html.liquid b/Custom_Templates/customer_templates/Instacart/_filter_category_select.html.liquid new file mode 100644 index 00000000..5e296a85 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_filter_category_select.html.liquid @@ -0,0 +1,17 @@ +{% assign categories = "New shopper,Wrong Items,Damaged Items,Missing Items,Finding Items,Quality,Replacements,Refunds,Safety,Batches,Video,Departments,Retailers,Customer Ratings,Non-grocery" | split: "," %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_filter_checkbox.html.liquid b/Custom_Templates/customer_templates/Instacart/_filter_checkbox.html.liquid new file mode 100644 index 00000000..5cbcbd07 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_filter_checkbox.html.liquid @@ -0,0 +1,10 @@ + + diff --git a/Custom_Templates/customer_templates/Instacart/_filter_dropdown.html.liquid b/Custom_Templates/customer_templates/Instacart/_filter_dropdown.html.liquid new file mode 100644 index 00000000..ce44bbde --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_filter_dropdown.html.liquid @@ -0,0 +1,36 @@ +
+ +
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_filter_select.html.liquid b/Custom_Templates/customer_templates/Instacart/_filter_select.html.liquid new file mode 100644 index 00000000..50c2a429 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_filter_select.html.liquid @@ -0,0 +1,25 @@ +{% if params.q %} + +{% endif %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_footer.html.liquid b/Custom_Templates/customer_templates/Instacart/_footer.html.liquid new file mode 100644 index 00000000..5f039002 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_footer.html.liquid @@ -0,0 +1,45 @@ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_head.html.liquid b/Custom_Templates/customer_templates/Instacart/_head.html.liquid new file mode 100644 index 00000000..d9932eac --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_head.html.liquid @@ -0,0 +1,20 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_header.html.liquid b/Custom_Templates/customer_templates/Instacart/_header.html.liquid new file mode 100644 index 00000000..f6f6c5d3 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_header.html.liquid @@ -0,0 +1,307 @@ +
+
+ {% 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 %} +
+ +
+ +
+ +
+ +
+ +
+ +
+ {% include "sub_navigation" %} +
+ + +{% include "messages" %} + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_header_minimal.html.liquid b/Custom_Templates/customer_templates/Instacart/_header_minimal.html.liquid new file mode 100644 index 00000000..6b72cdb2 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_language_selector.html.liquid b/Custom_Templates/customer_templates/Instacart/_language_selector.html.liquid new file mode 100644 index 00000000..47099ea8 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_language_selector.html.liquid @@ -0,0 +1,83 @@ + + Language + Idioma +
+
English
+
Español
+
+
+ + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_banners.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_banners.html.liquid new file mode 100644 index 00000000..11a1810c --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_certificate.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_certificate.html.liquid new file mode 100644 index 00000000..3a282c5e --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_certificate_content.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_certificate_content.html.liquid new file mode 100644 index 00000000..3feafd59 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_completed_banner.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_completed_banner.html.liquid new file mode 100644 index 00000000..1c146f6e --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_course.html.liquid new file mode 100644 index 00000000..5f7aff84 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_course.html.liquid @@ -0,0 +1,56 @@ +{% if learning_path.enrolled? and course.unlocked? %} +
+ +
+ {{ course.name }} +
+
+ {{ course.name }} +
+ {% if course.instructors %} +
+ {{ course.instructors }} +
+ {% endif %} +
+ {% t shared.progress, count: course.progress %} +
+
+ + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_description.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_description.html.liquid new file mode 100644 index 00000000..6b1fb3a0 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .about %} +

+
+ {{ learning_path.description }} +
diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_content.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_content.html.liquid new file mode 100644 index 00000000..e9ca85d9 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_content.html.liquid @@ -0,0 +1,21 @@ +
+
+
+ {{ learning_path.name }} +
+ {% include "learning_path_description" %} + {% include "learning_path_instructors" %} +
+
+
+
+
+ {% include "learning_path_progress_and_cta" %} +
+ {% include "learning_path_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_header.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_header.html.liquid new file mode 100644 index 00000000..6f4c112c --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_header.html.liquid @@ -0,0 +1,12 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ learning_path.name }} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_desktop_view.html.liquid new file mode 100644 index 00000000..8447443e --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_instructors.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_instructors.html.liquid new file mode 100644 index 00000000..a8342301 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_mobile_content.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_mobile_content.html.liquid new file mode 100644 index 00000000..92ffd4c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_mobile_header.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_mobile_header.html.liquid new file mode 100644 index 00000000..2bf66a5a --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_mobile_view.html.liquid new file mode 100644 index 00000000..0e22feb9 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_new_content_banner.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_new_content_banner.html.liquid new file mode 100644 index 00000000..2bc02d46 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_outline.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_outline.html.liquid new file mode 100644 index 00000000..22ddd573 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_product_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_product_desktop_view.html.liquid new file mode 100644 index 00000000..08cb6406 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_product_desktop_view.html.liquid @@ -0,0 +1,22 @@ +{% include "learning_path_desktop_header", learning_path: product %} +
+
+
+ {{ product.name }} +
+ {% include "learning_path_description", learning_path: product %} + {% include "learning_path_instructors", learning_path: product %} +
+
+
+
+
+ {% include "product_price_and_cta"%} +
+ {% include "learning_path_product_outline" %} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_product_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_product_mobile_view.html.liquid new file mode 100644 index 00000000..c42b6612 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_product_mobile_view.html.liquid @@ -0,0 +1,34 @@ +
+
+ {% t shared.learning_path.title %} + +
+
+ + + + {{ product.name }} +
+ {{ product.name }} +
+ {% include "product_price_and_cta" %} +
+
+ +
+ {% include "learning_path_description", learning_path: product %} +
+ +
+ {% include "learning_path_product_outline" %} +
+ +{% if product.instructors.any? %} +
+ {% include "learning_path_instructors", learning_path: product %} +
+{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_product_outline.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_product_outline.html.liquid new file mode 100644 index 00000000..bf077377 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_product_outline.html.liquid @@ -0,0 +1,10 @@ +
+

{% t .title %}

+ {% for item in product.learning_path_items %} + {% if item.course? %} + {% include "product_outline_course", id: forloop.index %} + {% elsif item.training_event? %} + {% include "product_outline_event", id: forloop.index %} + {% endif %} + {% endfor %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_progress_and_cta.html.liquid new file mode 100644 index 00000000..1d90a2a7 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_progress_and_cta.html.liquid @@ -0,0 +1,20 @@ +{% if learning_path.enrolled? %} +
+
+ {% t .progress %} +
+
+
+
+
+
+ {% t shared.progress, count: learning_path.progress %} +
+
+{% endif %} + +{% learning_path_next_step_button learning_path, class: "np-top-button np-button-font-color np-button np-button-big" %} diff --git a/Custom_Templates/customer_templates/Instacart/_learning_path_summary_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_summary_desktop_view.html.liquid new file mode 100644 index 00000000..05961c52 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_summary_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_summary_mobile_view.html.liquid new file mode 100644 index 00000000..f30a09eb --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_path_training_session.html.liquid new file mode 100644 index 00000000..f796cdf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_path_training_session.html.liquid @@ -0,0 +1,53 @@ +{% if learning_path.enrolled? and training_session.unlocked? %} +
+ +
+ +
+
{{ training_session.name }}
+
{{ training_session.instructors }}
+
+ {{ training_session.time }} {{ training_session.time_zone }} +
+
+ + {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% else %} +
+
+ +
+
{{ training_session.name }}
+
{{ training_session.caption }}
+
+ {% if training_session.optional? %} +
+ {% t shared.optional %} +
+ {% endif %} +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/_learning_paths_carousel.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_paths_carousel.html.liquid new file mode 100644 index 00000000..0ab45cfe --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_paths_carousel.html.liquid @@ -0,0 +1,125 @@ +{% assign filterInProgress = filterInProgress | default: false %} +{% assign sortByPriority = sortByPriority | default: false %} +{% assign displayedCount = 0 %} + +{% if items.any? %} + + {% if displayedCount == 0 %} + {% include "courses_zero_state" + , message: 'Nothing found! Start some paths to fill this gap.' + , messageEs: '¡Nada encontrado! Comienza algunas rutas para llenar este vacío.' %} + {% endif %} +{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state" + , message: message %} +{% endif %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_learning_paths_index.html.liquid b/Custom_Templates/customer_templates/Instacart/_learning_paths_index.html.liquid new file mode 100644 index 00000000..3b60c96b --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_learning_paths_index.html.liquid @@ -0,0 +1,47 @@ +
+ {% if items.any? %} + {% for learning_path in items %} +
4 %} + style="display: none;" + {% endif %}> + {% include "cards_learning_path_custom" with learning_path %} +
+ {% endfor %} + {% if courses.in_catalog.size > 4 %} +
+ See More + Ver Más +
+ {% endif %} + {% else %} +
+
+ {% t.empty %} +
+ {% t .empty %} +
+ {% endif %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_messages.html.liquid b/Custom_Templates/customer_templates/Instacart/_messages.html.liquid new file mode 100644 index 00000000..059fc568 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_product_expiration_date.html.liquid b/Custom_Templates/customer_templates/Instacart/_product_expiration_date.html.liquid new file mode 100644 index 00000000..2d4b898b --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_product_expiration_date.html.liquid @@ -0,0 +1,7 @@ +{% if date %} + {% capture date_format %}{% t date.formats.short_humanized %}{% endcapture %} + {% capture formatted_date %}{{ date | date: date_format }}{% endcapture %} + +{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/_product_outline.html.liquid b/Custom_Templates/customer_templates/Instacart/_product_outline.html.liquid new file mode 100644 index 00000000..4255455a --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_product_outline.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% t .header.course %} +
+
+
    + {% for section in course.sections %} +
  1. +
    + {{ section.name }} +
    +
      + {% for activity in section.activities %} +
    1. + + {% include "course_activity_locked" %} +
      +
    2. + {% endfor %} +
    +
  2. + {% endfor %} +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_product_outline_course.html.liquid b/Custom_Templates/customer_templates/Instacart/_product_outline_course.html.liquid new file mode 100644 index 00000000..594cc2de --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_product_outline_course.html.liquid @@ -0,0 +1,82 @@ +
+
+ {{ item.name }} +
+
+ {{ item.name }} +
+ +

+ {% if item.instructors.any? %} + {{ item.instructor_names }} + {% endif %} +

+ +
+
+ +

{% t shared.product_types.course %}

+
+ +
+
+
+
+
+

{% t .about %}

+

{{ item.full_description }}

+
+ {% if item.categories.any? %} +
+

+ {% t .categories %} +

+
+ {% for category in item.categories %} +
+ {{ category.name }} +
+ {% endfor %} +
+
+ {% endif %} + {% if item.instructors.any? %} +
+

+ {% t shared.instructors %} +

+
+ {% for instructor in item.instructors %} +
+ {{ instructor.name }} +
+
+ {{ instructor.name }} +
+ +
+
+ {% endfor %} +
+
+ {% endif %} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_product_outline_event.html.liquid b/Custom_Templates/customer_templates/Instacart/_product_outline_event.html.liquid new file mode 100644 index 00000000..aaa38f41 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_product_outline_event.html.liquid @@ -0,0 +1,49 @@ +
+
+ {% if item.available? %} + {% if item.location %} + {{ item.location }} | + {% endif %} + {{ item.time }} {{ item.time_zone }}, {{ item.date }} + {{ item.name }} + {% else %} + {{ item.name }} + {% endif %} +
{{ item.caption }}
+
+
+ +

{{ item.formatted_type }}

+
+ +
+
+
+

{% t .about %}

+

{{ item.description }}

+
+ {% if item.instructors %} +
+

+ {% t shared.instructors %} +

+
+
+
+ {{ item.instructors }} +
+
+
+
+ {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_product_outline_lp.html.liquid b/Custom_Templates/customer_templates/Instacart/_product_outline_lp.html.liquid new file mode 100644 index 00000000..87106e09 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_product_outline_lp.html.liquid @@ -0,0 +1,65 @@ +
+
+ {{ item.name }} +
+
+ {{ item.name }} +
+ +

+ {% if item.instructor_names %} + {{ item.instructor_names }} + {% endif %} +

+ +
+
+ +

{% t shared.product_types.learning_path %}

+
+ +
+
+
+
+
+

{% t .about %}

+ {{ item.description }} +
+

{% t .content %}

+ {% for learning_path_item in item.learning_path_items %} +
+
+ {% if learning_path_item.course? %} +

{{learning_path_item.name}}

+

{{learning_path_item.instructor_names}}

+ {% elsif learning_path_item.training_event? %} + {% if learning_path_item.available? %} + {{learning_path_item.name}} + {{ learning_path_item.time }} {{ learning_path_item.time_zone }}, {{ learning_path_item.date }} + {% else %} + {{learning_path_item.name}} + {{ learning_path_item.caption }} + {% endif %} + {% endif %} +
+
+ +

{{ learning_path_item.formatted_type }}

+
+
+ {% endfor %} +
+
diff --git a/Custom_Templates/customer_templates/Instacart/_product_price_and_cta.html.liquid b/Custom_Templates/customer_templates/Instacart/_product_price_and_cta.html.liquid new file mode 100644 index 00000000..c0221597 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_product_price_and_cta.html.liquid @@ -0,0 +1,12 @@ +
+
+ {{ product.formatted_price }} + + {{ product.formatted_access_period}} + +
+
+
+ {% commerce_add_to_cart product %} + {% commerce_buy_more_access product %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_search_result.html.liquid b/Custom_Templates/customer_templates/Instacart/_search_result.html.liquid new file mode 100644 index 00000000..5c2a4991 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_search_result.html.liquid @@ -0,0 +1,19 @@ +
+
+
+ {{ result.name }} +
+ +
{{ result.description }}
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_search_zero_state.html.liquid b/Custom_Templates/customer_templates/Instacart/_search_zero_state.html.liquid new file mode 100644 index 00000000..4e52c6fb --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_search_zero_state.html.liquid @@ -0,0 +1,13 @@ +
+
+
+

+ {% t .nothing_found %} +

+
+ {% t .empty %} +
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Instacart/_sub_navigation.html.liquid new file mode 100644 index 00000000..908b5822 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_sub_navigation.html.liquid @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_subheader_search.html.liquid b/Custom_Templates/customer_templates/Instacart/_subheader_search.html.liquid new file mode 100644 index 00000000..565e1c93 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_subheader_search.html.liquid @@ -0,0 +1,49 @@ +
+
+ + + +
+
+ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/_training_event_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_event_desktop_view.html.liquid new file mode 100644 index 00000000..76ac434a --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_event_desktop_view.html.liquid @@ -0,0 +1,42 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_status" %} + {% include "training_session_date" %} +
+
+ {% include "training_session_details" %} +
+
+
+
+ {% 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/Instacart/_training_event_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_event_mobile_view.html.liquid new file mode 100644 index 00000000..f6a7b959 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_event_mobile_view.html.liquid @@ -0,0 +1,23 @@ +
+
+ {% include "training_session_header" %} +
+ +
+ {% include "training_session_status" %} + {% include "training_session_date" %} + {% include "training_session_details" %} + {% 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/Instacart/_training_event_preview_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_event_preview_desktop_view.html.liquid new file mode 100644 index 00000000..be9b996a --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_event_preview_desktop_view.html.liquid @@ -0,0 +1,42 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_status" %} + {% include "training_session_date" %} +
+
+ {% include "training_session_details" %} +
+
+
+
+ {% include "training_session_description" %} +
+
+
+
+
+
+ {% t shared.more_sessions %} +
+ {% if training_event.sessions.size > 0 %} + {% include "training_event_preview_more_sessions" %} + {% else %} +
+ {% t themes.default._training_event_desktop_view.empty %} +
+ {% t themes.default._training_event_desktop_view.empty %} +
+
+ {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_training_event_preview_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_event_preview_mobile_view.html.liquid new file mode 100644 index 00000000..84323a09 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_event_preview_mobile_view.html.liquid @@ -0,0 +1,23 @@ +
+
+ {% include "training_session_header" %} +
+ +
+ {% include "training_session_status" %} + {% include "training_session_date" %} + {% include "training_session_details" %} + {% include "training_session_description" %} +
+ + {% if training_event.sessions.size > 0 %} +
+
+
+ {% t shared.more_sessions %} +
+ {% include "training_event_preview_more_sessions" %} +
+
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_event_preview_more_sessions.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_event_preview_more_sessions.html.liquid new file mode 100644 index 00000000..a81c888a --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_event_preview_more_sessions.html.liquid @@ -0,0 +1,3 @@ +{% for session in training_event.sessions %} + {% include "training_event_preview_session_tile", current_session: training_session %} +{% endfor %} diff --git a/Custom_Templates/customer_templates/Instacart/_training_event_preview_session_tile.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_event_preview_session_tile.html.liquid new file mode 100644 index 00000000..7a09cc33 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_event_preview_session_tile.html.liquid @@ -0,0 +1,18 @@ +
+
+ +
+ {{ session.status.label }} +
+
+
+
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_training_events_dashboard.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_events_dashboard.html.liquid new file mode 100644 index 00000000..7aeb19ce --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_events_dashboard.html.liquid @@ -0,0 +1,9 @@ +
+ {% if training_events.enrolled.any? %} + {% for training_event in training_events.enrolled %} + {% include "cards_training_event" with training_event %} + {% endfor %} + {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_events_filter.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_events_filter.html.liquid new file mode 100644 index 00000000..d4892278 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_events_filter.html.liquid @@ -0,0 +1,53 @@ +
+ +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_events_index.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_events_index.html.liquid new file mode 100644 index 00000000..ff93b1c8 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_events_index.html.liquid @@ -0,0 +1,13 @@ +
+ {% if training_events.available.any? %} +
+ {% for training_event in training_events.available %} +
+ {% include "cards_training_event" with training_event %} +
+ {% endfor %} +
+ {% else %} + {% include "training_events_zero_state" %} + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_events_zero_state.html.liquid new file mode 100644 index 00000000..076b789e --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_events_zero_state.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% t .empty %} +
+ {% t .empty %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_session_calendars.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/Custom_Templates/customer_templates/Instacart/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_cta.html.liquid new file mode 100644 index 00000000..5f959556 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_cta.html.liquid @@ -0,0 +1,35 @@ +
+
+
+ {% form_authenticity_token %} + + {% if training_session.show_calendar_links? %} + {% include "training_session_calendars" %} + {% endif %} + + {% if training_session.cta.undo? %} + + {% endif %} + + {% if training_session.cta.label %} + + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_training_session_date.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_date.html.liquid new file mode 100644 index 00000000..860040fe --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_date.html.liquid @@ -0,0 +1,16 @@ +
+
+
+
+ {{ training_session.day }} +
+
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/_training_session_description.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_description.html.liquid new file mode 100644 index 00000000..73be4cf4 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_description.html.liquid @@ -0,0 +1,6 @@ +

+ {% t .header %} +

+
+ {{ training_event.description }} +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_desktop_view.html.liquid new file mode 100644 index 00000000..d689ade2 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_desktop_view.html.liquid @@ -0,0 +1,43 @@ +
+ {% include "training_session_header" %} +
+
+
+
+
+
+ {% include "training_session_status" %} + {% include "training_session_date" %} +
+
+ {% 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/Instacart/_training_session_details.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_details.html.liquid new file mode 100644 index 00000000..64a925b7 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_details.html.liquid @@ -0,0 +1,23 @@ +
+ +
+ + +
+ + {% if training_session.approved? and training_session.location %} +
+ + {{ training_session.location }} +
+ {% endif %} + + {% if training_session.approved? and training_session.session_url %} + + {% endif %} +
diff --git a/Custom_Templates/customer_templates/Instacart/_training_session_header.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_header.html.liquid new file mode 100644 index 00000000..b845976d --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_mobile_view.html.liquid new file mode 100644 index 00000000..3270d65d --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_mobile_view.html.liquid @@ -0,0 +1,27 @@ +
+
+ {% include "training_session_header" %} +
+ +
+ {% include "training_session_status" %} + {% include "training_session_date" %} + {% 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/Instacart/_training_session_more_sessions.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_more_sessions.html.liquid new file mode 100644 index 00000000..6cfafa87 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_training_session_status.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_status.html.liquid new file mode 100644 index 00000000..75116282 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_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/Instacart/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/Instacart/_training_session_tile.html.liquid new file mode 100644 index 00000000..669fbb6c --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/_training_session_tile.html.liquid @@ -0,0 +1,24 @@ +{% if current_session.id != session.id %} + +
+ +
+ {{ session.status.label }} +
+
+
+
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+ +
+
+{% endif %} diff --git a/Custom_Templates/customer_templates/Instacart/account.html.liquid b/Custom_Templates/customer_templates/Instacart/account.html.liquid new file mode 100644 index 00000000..32118966 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/account.html.liquid @@ -0,0 +1,15 @@ +{% include "account_tabs" %} + +
+
+ {% include "account_mobile_view" + , form: form %} +
+ +
+ {% include "account_desktop_view" + , form: form %} +
+
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Instacart/auth_url_email.html.liquid new file mode 100644 index 00000000..a413959c --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/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/Instacart/auth_url_employee.html.liquid b/Custom_Templates/customer_templates/Instacart/auth_url_employee.html.liquid new file mode 100644 index 00000000..c8d8adf7 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/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/Instacart/auth_url_phone_number.html.liquid b/Custom_Templates/customer_templates/Instacart/auth_url_phone_number.html.liquid new file mode 100644 index 00000000..aafae119 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/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/Instacart/auth_url_terms.html.liquid b/Custom_Templates/customer_templates/Instacart/auth_url_terms.html.liquid new file mode 100644 index 00000000..a7087db2 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/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/Instacart/bundle_product.html.liquid b/Custom_Templates/customer_templates/Instacart/bundle_product.html.liquid new file mode 100644 index 00000000..9b5f0c8b --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/bundle_product.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "bundle_product_desktop_view" %} +
+
+ {% include "bundle_product_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/catalog.html.liquid b/Custom_Templates/customer_templates/Instacart/catalog.html.liquid new file mode 100644 index 00000000..f92e0e4c --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/catalog.html.liquid @@ -0,0 +1,54 @@ +{% include "subheader_search" %}{% include "course_version_outdated_alert" + , courses: courses.in_catalog %} + +{% comment %} Check if there are any courses in progress {% endcomment %} +{% assign hasInProgressCourses = false %} +{% for course in courses.enrolled %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign hasInProgressCourses = true %} + {% break %} + {% endif %} +{% endfor %} + +
+ {% if hasInProgressCourses %} +
+
+ In progress + En progreso +
+
+ Continue where You left off + Continúa donde lo dejaste +
+ {% include "carrot_button" + , buttonUrl: "/app/dashboard" + , buttonText: "For you page" + , buttonTextEs: "Para tu página" %} + + {% include "courses_carousel" + , items: courses.enrolled + , breakpoint: 768 + , filterInProgress: true + , sortByPriority: false %} +
+ {% endif %} +
+
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
+
+ {% capture label %}{% t shared.filters.by_category %}{% endcapture %} + {% if courses.in_catalog.any? %} + {% + include "filter_dropdown" + , givenId: "courses_catalog_filter" + %} + {% endif %} +
+ {% include "courses_catalog" + , courseslist: courses.enrolled + , filterInProgress: false + , eventId: "courses_catalog_filter" %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_cart.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_cart.html.liquid new file mode 100644 index 00000000..a111cbb7 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_cart.html.liquid @@ -0,0 +1,5 @@ +
+ {% commerce_cart %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_catalog.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_catalog.html.liquid new file mode 100644 index 00000000..652453ab --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_catalog.html.liquid @@ -0,0 +1,28 @@ +{% include "course_version_outdated_alert" + , courses: courses.in_catalog %} +
+
+
+

{{ catalog.headline }}

+

{{ catalog.subheadline }}

+
+
+ {% if catalog.any? %} +
+ {% for item in catalog.items %} +
+ {% include "cards_catalog_item" with item %} +
+ {% endfor %} +
+ {% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state" + , message: message %} + {% endif %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_checkout.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_checkout.html.liquid new file mode 100644 index 00000000..ed1851e6 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_checkout.html.liquid @@ -0,0 +1,5 @@ +
+ {% commerce_checkout %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_order_details.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_order_details.html.liquid new file mode 100644 index 00000000..63f5a3e9 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_order_details.html.liquid @@ -0,0 +1,5 @@ +
+ {% commerce_order_details %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_order_history.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_order_history.html.liquid new file mode 100644 index 00000000..5305dcaf --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_order_history.html.liquid @@ -0,0 +1,7 @@ +{% include "account_tabs" %} + +
+ {% commerce_order_history %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_redeem.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_redeem.html.liquid new file mode 100644 index 00000000..fa4aa880 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_redeem.html.liquid @@ -0,0 +1,5 @@ +
+ {% commerce_redeem %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/commerce_return.html.liquid b/Custom_Templates/customer_templates/Instacart/commerce_return.html.liquid new file mode 100644 index 00000000..c21f9c12 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/commerce_return.html.liquid @@ -0,0 +1,5 @@ +
+ {% commerce_return %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/course.html.liquid b/Custom_Templates/customer_templates/Instacart/course.html.liquid new file mode 100644 index 00000000..135fcfea --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/course.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "course_desktop_view" %} +
+
+ {% include "course_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/course_product.html.liquid b/Custom_Templates/customer_templates/Instacart/course_product.html.liquid new file mode 100644 index 00000000..94e05a00 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/course_product.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "course_product_desktop_view" %} +
+
+ {% include "course_product_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/courses.html.liquid b/Custom_Templates/customer_templates/Instacart/courses.html.liquid new file mode 100644 index 00000000..a2174570 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/courses.html.liquid @@ -0,0 +1,13 @@ +{% include "course_version_outdated_alert" + , courses: courses.enrolled %} +
+
+ {% t shared.course_vocabulary.plural + , key: current_school.course_vocabulary %} +
+
{% t.headline +, key: current_school.course_vocabulary %}
+ {% include "courses_index" + , class: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/dashboard.html.liquid b/Custom_Templates/customer_templates/Instacart/dashboard.html.liquid new file mode 100644 index 00000000..5c128a97 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/dashboard.html.liquid @@ -0,0 +1,97 @@ +{% include "course_version_outdated_alert" + , courses: courses.enrolled %} +
+
+ Hi + Hola + {% if current_person.first_name %} + {{ current_person.first_name }}{% endif %}! +
+
+ Your quality score is {{ current_person.properties.quality_score | default: "in progress" }}
Consider taking some lessons below.
+ Tu puntuación de calidad es {{ current_person.properties.quality_score | default: "en progreso" }}
Considera tomar algunas lecciones a continuación.
+
+ + {% include "carrot_button" + , buttonUrl: "/app" + , buttonText: "In progress" + , buttonTextEs: "En progreso" %} + +
+
+
+ Your lessons + Tus lecciones +
+ {% include "courses_carousel" + , items: courses.enrolled + , breakpoint: 1000 + , filterInProgress: false + , sortByPriority: true %} + {% if features.learning_paths? %} +
+ Your learning paths + Tus rutas de aprendizaje +
+ {% include "learning_paths_carousel" + , items: learning_paths.enrolled + , breakpoint: 1000 + , filterInProgress: false + , sortByPriority: true %} + {% endif %} + +
+ +
+ {% if features.training_events? %} +
+
+ {% t.upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} + {% comment %} + Uncomment this when we have achievments, instacart wanted achievments not to show if user doesn't have any +
+
+ Recent Achievments +
+ {% include "achievments_display" %} +
{% endcomment %} +
+ +
+ +
+{% include "footer" %} + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/forgot_password.html.liquid b/Custom_Templates/customer_templates/Instacart/forgot_password.html.liquid new file mode 100644 index 00000000..3d65513f --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/forgot_password.html.liquid @@ -0,0 +1,25 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/homepage.html.liquid b/Custom_Templates/customer_templates/Instacart/homepage.html.liquid new file mode 100644 index 00000000..9e730fbe --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/homepage.html.liquid @@ -0,0 +1,45 @@ +{% include "subheader_search" %}{% include "course_version_outdated_alert" + , courses: courses.featured %} + +{% comment %} Check if there are any courses in progress {% endcomment %} +{% assign hasInProgressCourses = false %} +{% for course in courses.enrolled %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign hasInProgressCourses = true %} + {% break %} + {% endif %} +{% endfor %} + +
+ +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/learning_path.html.liquid b/Custom_Templates/customer_templates/Instacart/learning_path.html.liquid new file mode 100644 index 00000000..c158f3e8 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/learning_path.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "learning_path_desktop_view" %} +
+
+ {% include "learning_path_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/learning_path_product.html.liquid b/Custom_Templates/customer_templates/Instacart/learning_path_product.html.liquid new file mode 100644 index 00000000..b13534c9 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/learning_path_product.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "learning_path_product_desktop_view" %} +
+
+ {% include "learning_path_product_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/learning_path_summary.html.liquid b/Custom_Templates/customer_templates/Instacart/learning_path_summary.html.liquid new file mode 100644 index 00000000..0c2214ca --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/learning_path_summary.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "learning_path_summary_desktop_view" %} +
+
+ {% include "learning_path_summary_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/learning_paths.html.liquid b/Custom_Templates/customer_templates/Instacart/learning_paths.html.liquid new file mode 100644 index 00000000..9375ed0a --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/learning_paths.html.liquid @@ -0,0 +1,52 @@ +{% include "subheader_search" %} + +{% comment %} Check if there are any learning paths in progress {% endcomment %} +{% assign hasInProgressPaths = false %} +{% for learning_path in learning_paths.enrolled %} + {% if learning_path.progress > 0 and learning_path.progress < 100 %} + {% assign hasInProgressPaths = true %} + {% break %} + {% endif %} +{% endfor %} + +
+
+ {% if hasInProgressPaths %} +
+
+ In progress + En progreso +
+
+ Continue where You left off + Continúa donde lo dejaste +
+ {% include "carrot_button" + , buttonUrl: "/app/dashboard" + , buttonText: "For you page" + , buttonTextEs: "Para tu página" %} + {% + include "filter_dropdown" + , givenId: "courses_catalog_filter" + %} + + {% include "learning_paths_carousel" + , items: learning_paths.enrolled + , breakpoint: 768 + , filterInProgress: true + , sortByPriority: false %} +
+ {% endif %} +
+ Master A New Skill + Domina Una Nueva Habilidad +
+
+ Go more in-depth with our learning paths. + Profundiza más con nuestras rutas de aprendizaje. +
+ {% include "learning_paths_index" + , items: learning_paths.available %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/login.html.liquid b/Custom_Templates/customer_templates/Instacart/login.html.liquid new file mode 100644 index 00000000..bde185dd --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/login.html.liquid @@ -0,0 +1,53 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ + +
+
+ + +
+ + + {% t .forgot_password %} + + {% if features.account_creation? %} + + {% t shared.sign_up %} + + {% endif %} + {% if features.request_access? %} + + {{ current_school.request_access_label }} + + {% endif %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/master.html.liquid b/Custom_Templates/customer_templates/Instacart/master.html.liquid new file mode 100644 index 00000000..df2e3320 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/master.html.liquid @@ -0,0 +1,61 @@ +{% include "header" %} +{% body %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/not_found.html.liquid b/Custom_Templates/customer_templates/Instacart/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/Custom_Templates/customer_templates/Instacart/private_certificate.html.liquid b/Custom_Templates/customer_templates/Instacart/private_certificate.html.liquid new file mode 100644 index 00000000..4e21cc27 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/private_certificate.html.liquid @@ -0,0 +1,9 @@ +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/public_certificate.html.liquid b/Custom_Templates/customer_templates/Instacart/public_certificate.html.liquid new file mode 100644 index 00000000..4e21cc27 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/public_certificate.html.liquid @@ -0,0 +1,9 @@ +{% include "certificates_top_bar" %} +
+
+
+ {% include "certificates_preview" %} + {% include "certificates_info_column" %} +
+
+
\ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/reset_password.html.liquid b/Custom_Templates/customer_templates/Instacart/reset_password.html.liquid new file mode 100644 index 00000000..281c6eaa --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/reset_password.html.liquid @@ -0,0 +1,43 @@ +
+
+ {% include "header_minimal" %} +
+
+ + + {% form_authenticity_token %} +
+ + +
+
+ + +
+ +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/search.html.liquid b/Custom_Templates/customer_templates/Instacart/search.html.liquid new file mode 100644 index 00000000..d3c9adf6 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/search.html.liquid @@ -0,0 +1,24 @@ +
+
+ {% t.title %} +
+
+
+ {% t.showing %} + {{ results.count }} + {% t.results_for %} + "{{ results.term }}" +
+ {% capture label %}{% t shared.filters.by_type %}{% endcapture %} + {% + include "filter_dropdown" + , givenId: "search_filter" + %} +
+ {% if results.items.any? %} + {% render "search_result" for results.items as result %} + {% else %} + {% include "search_zero_state" %} + {% endif %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/sign_up.html.liquid b/Custom_Templates/customer_templates/Instacart/sign_up.html.liquid new file mode 100644 index 00000000..7a903da4 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/sign_up.html.liquid @@ -0,0 +1,72 @@ +
+
+ {% include "header_minimal" %} +
+
+
{% t .create_account %}
+ {% form_authenticity_token %} +
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+ + + {% t .terms %} + + {% t .terms_link %} + + +
+
+
+
diff --git a/Custom_Templates/customer_templates/Instacart/styles.css.liquid b/Custom_Templates/customer_templates/Instacart/styles.css.liquid new file mode 100644 index 00000000..edf8e748 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/styles.css.liquid @@ -0,0 +1,284 @@ + /* + 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: "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #000000; + /* Use the desired text color */ + height: 100%; + } + + .np-card-ribbon { + background-color: { + { + color_palette.button_hover_color + } + } + + ; + } + + html body .np-main, + html body .np-dashboard { + background: #F5F6F7 !important; + } + + html body .np-main.np-dashboard, + html body .np-dashboard.np-subpage-container, + html body .np-main.np-dashboard.np-subpage-container { + background: #F5F6F7 !important; + } + + .np-homepage, + .np-homepage-featured { + background: #F5F6F7 !important; + } + + .np-footer { + background: { + { + color_palette.header_color + } + } + + ; + + color: { + { + color_palette.button_font_color + } + } + + ; + } + + .carrot-button-container{ + text-align: center; +} + + .flex-column-center { + display: flex; + flex-direction: column; + align-items: center; + } + + .global-section-title { + color: #35404e; + font-size: 22px; + font-weight: 900; + margin: 10px 0; + text-align: center; + } + + .global-section-subtitle { + color: #59697b; + font-size: 18px; + margin: 10px 0; + text-align: center; + } + + .load-more-btn { + font-weight: bold; + color: #003d29; + text-align: center; + cursor: pointer; + padding: 10px; + margin: 0 auto; + } + + .load-more-btn:hover { + text-decoration: underline; + } + + .np-card-container{ + border-radius: 8px; + overflow: hidden; + min-height: 350px; + height: 100%; + display: flex; + flex-direction: column; +} + + @media screen and (max-width: 768px) { + .np-card-padding{ + padding: 20px 20px 0 20px; + } + + .slick-list.draggable{ + padding: 0 16px !important; + } + + } + + @media screen and (min-width: 768px) { + + .np-card-container{ + border-radius: 15px; + min-height: 400px; + } + + .global-section-title { + margin: 0 0 20px; + text-align: left; + font-size: 16px; + } + + .global-section-subtitle { + margin: 0 0 20px; + text-align: left; + font-size: 13px; + } + + .carrot-button-container{ + text-align: left; + } + + .catalog-card, + .paths-carousel-container .np-card { + min-height: 100%; + min-width: 100%; + } + + .row .catalog-card, + .slick-slide .catalog-card, + .paths-carousel-container .np-card { + margin: 0; + padding: 0 32px 64px; + } + + .padded-row { + padding: 0 32px; + } + + .lp-footer-placeholder { + margin-top: 16px; + } + } + + .catalog-card, + .paths-carousel-container .np-card { + margin-bottom: 32px; + } + + .slick-track { + display: flex !important; + } + + .slick-initialized .slick-slide { + height: auto !important; + display: flex !important; + } + + .slick-slide>div { + flex: 1; + display: flex; + } + + .np-card { + position: relative; + } + + .lp-footer-placeholder { + height: 40px; + width: 100%; + } + + .np-card-content-footer { + position: absolute; + width: calc(100% - 40px); + bottom: 10px; + } + + .np-card-content-progress{ + color: #ff7308; + } + + .np-footer{ + background-color: #003d29; + color: white; +} + +.np-footer-navigation-link{ + color: white; + font-weight: bold; + text-decoration: none; +} + +.np-footer-logo-image { + filter: none; + opacity: 1; +} + +.slick-next, .slick-prev { + display: none !important; +} + +.zero-state-container{ + width: calc(100% - 64px); + margin: 0 32px 64px 32px; +} + +.np-card-ribbon{ + background-color: #ff7009 +} + +.np-card-stack>div{ + border-radius: 15px; +} + + +.carrot-button-container>a, .carrot-button-container>button{ + text-decoration: none; + background-color: #013d29; + color: white; + padding: 10px 15px; + border-radius: 4px; + font-weight: bold; + margin: 10px 0 30px; + display: inline-block; + border: none; +} + +.carrot-button-container > .carrot-button-secondary{ + background-color: #d9dfe2; + color: #36404e; + padding: 10px 15px; + border-radius: 4px; + font-weight: bold; +} +.carrot-padded-row{ + padding: 0 60px; +} + +.np-header-mobile-menu-content-button, .np-header-mobile-menu-content-name{ + color: #013d29; + position: relative; +} + +.custom-card-header { + align-items: center; + border-bottom: 1px solid #d9dfe2; + display: flex; + justify-content: space-between; + padding: 8px 12px; +} +.np-card-content-subtitle{ + color: #979797; +} + +.card-visible { + visibility: visible !important; +} + +.flex-1{ + flex: 1; +} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/training_event_preview.html.liquid b/Custom_Templates/customer_templates/Instacart/training_event_preview.html.liquid new file mode 100644 index 00000000..583ea4a8 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/training_event_preview.html.liquid @@ -0,0 +1,11 @@ +
+
+ {% include "training_event_preview_desktop_view" + , training_session: training_event %} +
+
+ {% include "training_event_preview_mobile_view" + , training_session: training_event %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/training_events.html.liquid b/Custom_Templates/customer_templates/Instacart/training_events.html.liquid new file mode 100644 index 00000000..7eac6583 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/training_events.html.liquid @@ -0,0 +1,17 @@ +
+
+
+
+ {% t.title %} +
+
+ {% t.subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/training_session.html.liquid b/Custom_Templates/customer_templates/Instacart/training_session.html.liquid new file mode 100644 index 00000000..95f9ed87 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/training_session.html.liquid @@ -0,0 +1,9 @@ +
+
+ {% include "training_session_desktop_view" %} +
+
+ {% include "training_session_mobile_view" %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/Instacart/training_session_attendance.html.liquid new file mode 100644 index 00000000..b0c6f807 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ + +
+
+ {% 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/Instacart/transcript.html.liquid b/Custom_Templates/customer_templates/Instacart/transcript.html.liquid new file mode 100644 index 00000000..006522bc --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/transcript.html.liquid @@ -0,0 +1,7 @@ +{% include "account_tabs" %} + +
+ {% transcript %} +
+ +{% include "footer" %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Instacart/unsubscribe.html.liquid b/Custom_Templates/customer_templates/Instacart/unsubscribe.html.liquid new file mode 100644 index 00000000..6ba5b730 --- /dev/null +++ b/Custom_Templates/customer_templates/Instacart/unsubscribe.html.liquid @@ -0,0 +1,35 @@ +
+
+ {% if token %} + +
+ {% t.unsubscribe_text %} +
+
+ {% t.resubscribe_text %} +
+
+ {% form_authenticity_token %} + + +
+ {% else %} + +
+ {% t.resubscribed_text %} +
+ {% endif %} +
+
+{% include "footer" %} \ No newline at end of file