diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 85e8ed03..ebe107e9 100644 Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Front/_cards_course.html.liquid b/Custom_Templates/customer_templates/Front Academy/_cards_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_cards_course.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_cards_course.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_cards_course_old.html.liquid b/Custom_Templates/customer_templates/Front Academy/_cards_course_old.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_cards_course_old.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_cards_course_old.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Front Academy/_cards_learning_path.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_cards_learning_path.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_cards_learning_path.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_cards_learning_path_homepage.html.liquid b/Custom_Templates/customer_templates/Front Academy/_cards_learning_path_homepage.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_cards_learning_path_homepage.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_cards_learning_path_homepage.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_cards_learning_path_vertical.html.liquid b/Custom_Templates/customer_templates/Front Academy/_cards_learning_path_vertical.html.liquid similarity index 77% rename from Custom_Templates/customer_templates/Front/_cards_learning_path_vertical.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_cards_learning_path_vertical.html.liquid index d4b6fb6f..6904f1cf 100644 --- a/Custom_Templates/customer_templates/Front/_cards_learning_path_vertical.html.liquid +++ b/Custom_Templates/customer_templates/Front Academy/_cards_learning_path_vertical.html.liquid @@ -1,37 +1,39 @@ - {% assign lp_set_front_for_my_company_desc = "This learning path is for account admins who are responsible for setting up your company's Front account." %} {% assign lp_front_for_daily_work_desc = "This learning path is for Front users who will be using Front for their daily work and team collaboration." %} -{% assign lp_make_smarter_decisions_with_front_analytics_desc = "This learning path is for users who want to leverage Front Analytics to help them make more intelligent and insightful business decisions."%} +{% assign lp_make_smarter_decisions_with_front_analytics_desc = "This learning path is for users who want to leverage Front Analytics to help them make more intelligent and insightful business decisions." %} + +{% assign lp_front_administrator_certification = "Be recognized for your in-depth knowledge of Front and earn your company's trust as the go-to expert for all things Front by becoming a Front Certified Administrator!" %}
{{ learning_path.name }} + src="{{ learning_path.image_url }}" />
{% t shared.learning_path.title %}

{% if learning_path.name == "Make smarter decisions with Front analytics" %} Front Analytics - {%else%} + {% else %} {{ learning_path.name }} - {%endif%} + {% endif %}

{% if learning_path.name == "Set up Front for my company" %} - {{lp_set_front_for_my_company_desc}} + {{ lp_set_front_for_my_company_desc }} {% elsif learning_path.name == "Front for my daily work" %} - {{lp_front_for_daily_work_desc}} + {{ lp_front_for_daily_work_desc }} {% elsif learning_path.name == "Make smarter decisions with Front analytics" %} - {{lp_make_smarter_decisions_with_front_analytics_desc}} + {{ lp_make_smarter_decisions_with_front_analytics_desc }} + {% elsif learning_path.name == "Front Administrator Certification" %} + {{ lp_front_administrator_certification }} {% endif %}
-
+ \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Front Academy/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/Front Academy/_cards_training_event.html.liquid new file mode 100644 index 00000000..7517ce3c --- /dev/null +++ b/Custom_Templates/customer_templates/Front Academy/_cards_training_event.html.liquid @@ -0,0 +1,154 @@ +{% assign current_date = "now" | date: "%Y-%m-%d" %} +{% assign due_date = "August 17, 2023" | date: "%Y-%m-%d" %} + +{% if current_date < due_date %} + {% if training_event.sessions.first.id == 'ef7e1fd4-f079-4812-818b-639d871b9ce3' or training_event.sessions.first.id == '1d0507b5-1acf-44db-91bf-f75433a4daef' or training_event.sessions.first.id == '2f208441-c668-42dd-beae-704ad9066d8f' %} + +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ 17 +
+
+
+ August +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% if training_event.sessions.first.id == 'ef7e1fd4-f079-4812-818b-639d871b9ce3' %} + {{ training_event.sessions.size | minus: 3 }} Sessions + {% elsif training_event.sessions.first.id == '1d0507b5-1acf-44db-91bf-f75433a4daef'%} + {{ training_event.sessions.size | minus: 2 }} Sessions + {% elsif training_event.sessions.first.id == '2f208441-c668-42dd-beae-704ad9066d8f' %} + {{ training_event.sessions.size | minus: 1 }} Sessions + {% else %} + {% t .sessions, count: training_event.sessions.size %} + {% endif %} + + + {% t shared.view %} + +
+
+
+
+ + {% else %} +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% t .sessions, count: training_event.sessions.size %} + + + {% t shared.view %} + +
+
+
+
+ {% endif %} +{% else %} +
+
+
+

+ {{ training_event.title }} +

+
+ {% t shared.event_types, key: training_event.event_type %} +
+
+ +
+
+
+ {{ training_event.sessions.first.day }} +
+
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
+
+
+
+
+
+
+ + + {% t .sessions, count: training_event.sessions.size %} + + + {% t shared.view %} + +
+
+
+
+{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Front/_carousel_instructors.html.liquid b/Custom_Templates/customer_templates/Front Academy/_carousel_instructors.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_carousel_instructors.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_carousel_instructors.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_catalog_filter.html.liquid b/Custom_Templates/customer_templates/Front Academy/_catalog_filter.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_catalog_filter.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_catalog_filter.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_catalog_filtter_courses.html.liquid b/Custom_Templates/customer_templates/Front Academy/_catalog_filtter_courses.html.liquid similarity index 94% rename from Custom_Templates/customer_templates/Front/_catalog_filtter_courses.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_catalog_filtter_courses.html.liquid index dd76f632..28bc6cd4 100644 --- a/Custom_Templates/customer_templates/Front/_catalog_filtter_courses.html.liquid +++ b/Custom_Templates/customer_templates/Front Academy/_catalog_filtter_courses.html.liquid @@ -30,6 +30,9 @@
Intermediate
+
+ Advanced +

Duration

@@ -39,6 +42,9 @@
15-30 min
+
+ 30+ min +
diff --git a/Custom_Templates/customer_templates/Front/_course_description.html.liquid b/Custom_Templates/customer_templates/Front Academy/_course_description.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_course_description.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_course_description.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_course_desktop_view.html.liquid b/Custom_Templates/customer_templates/Front Academy/_course_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_course_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_course_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_course_mobile_view.html.liquid b/Custom_Templates/customer_templates/Front Academy/_course_mobile_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_course_mobile_view.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_course_mobile_view.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_course_outline.html.liquid b/Custom_Templates/customer_templates/Front Academy/_course_outline.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_course_outline.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_course_outline.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_course_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Front Academy/_course_progress_and_cta.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_course_progress_and_cta.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_course_progress_and_cta.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Front Academy/_courses_catalog.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_courses_catalog.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_courses_catalog.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_footer.html.liquid b/Custom_Templates/customer_templates/Front Academy/_footer.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_footer.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_footer.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_head.html.liquid b/Custom_Templates/customer_templates/Front Academy/_head.html.liquid similarity index 80% rename from Custom_Templates/customer_templates/Front/_head.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_head.html.liquid index 9b83eec7..a6574911 100644 --- a/Custom_Templates/customer_templates/Front/_head.html.liquid +++ b/Custom_Templates/customer_templates/Front Academy/_head.html.liquid @@ -8,4 +8,10 @@ - \ No newline at end of file + + +{% if current_person.email contains '@wearehackerone.com' %} + +{% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Front/_header.html.liquid b/Custom_Templates/customer_templates/Front Academy/_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_header.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_header.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_homepage_courses_carousel.html.liquid b/Custom_Templates/customer_templates/Front Academy/_homepage_courses_carousel.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_homepage_courses_carousel.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_homepage_courses_carousel.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/Front Academy/_learning_path_course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_learning_path_course.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_learning_path_course.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_learning_path_desktop_view.html.liquid b/Custom_Templates/customer_templates/Front Academy/_learning_path_desktop_view.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_learning_path_desktop_view.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_learning_path_desktop_view.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_learning_path_progress_and_cta.html.liquid b/Custom_Templates/customer_templates/Front Academy/_learning_path_progress_and_cta.html.liquid similarity index 59% rename from Custom_Templates/customer_templates/Front/_learning_path_progress_and_cta.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_learning_path_progress_and_cta.html.liquid index d9e3402b..71a61865 100644 --- a/Custom_Templates/customer_templates/Front/_learning_path_progress_and_cta.html.liquid +++ b/Custom_Templates/customer_templates/Front Academy/_learning_path_progress_and_cta.html.liquid @@ -36,25 +36,4 @@ - - {% if learning_path.enrolled? == false %} - {% t shared.enroll %} - {% elsif learning_path.started? == false %} - {% t shared.learning_path.start %} - {% elsif learning_path.completed? %} - {% t shared.learning_path.view %} - {% else %} - {% t shared.continue %} - {% 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/Front/_learning_paths_homepage.html.liquid b/Custom_Templates/customer_templates/Front Academy/_learning_paths_homepage.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_learning_paths_homepage.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_learning_paths_homepage.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_progress_circle.html.liquid b/Custom_Templates/customer_templates/Front Academy/_progress_circle.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_progress_circle.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_progress_circle.html.liquid diff --git a/Custom_Templates/customer_templates/Front/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Front Academy/_sub_navigation.html.liquid similarity index 98% rename from Custom_Templates/customer_templates/Front/_sub_navigation.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_sub_navigation.html.liquid index 2e8c8b67..11b9a203 100644 --- a/Custom_Templates/customer_templates/Front/_sub_navigation.html.liquid +++ b/Custom_Templates/customer_templates/Front Academy/_sub_navigation.html.liquid @@ -26,7 +26,7 @@
- Events + Live Training
diff --git a/Custom_Templates/customer_templates/Front/_training_events_zero_state.html.liquid b/Custom_Templates/customer_templates/Front Academy/_training_events_zero_state.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_training_events_zero_state.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_training_events_zero_state.html.liquid diff --git a/Custom_Templates/customer_templates/Front Academy/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Front Academy/_training_session_cta.html.liquid new file mode 100644 index 00000000..44728b36 --- /dev/null +++ b/Custom_Templates/customer_templates/Front Academy/_training_session_cta.html.liquid @@ -0,0 +1,63 @@ +{% if training_session.approved? %} +
+ + {% t .registered %} +
+{% elsif training_session.pending? %} +
+ {% t .pending %} +
+{% elsif training_session.denied? %} +
+ {% t .denied %} +
+{% elsif training_session.too_late? %} +
+ {% t .too_late %} +
+{% elsif training_session.no_seats? %} +
+ {% t .no_seats %} +
+{% endif %} +
+
+
+ {% form_authenticity_token %} + + {% if training_session.internal? and training_session.approved? %} + {% if features.training_events_google_calendar? %} + {% include "training_session_calendars" %} + + {% else %} + + {% endif %} + + + {% endif %} + + {% if training_session.not_registered? %} + {% if training_event.title == 'Admin Onboarding' %} + + {% t .register %} + + {% elsif training_event.title == 'New User Front Training' %} + + {% t .register %} + + {% else %} + + {% endif %} + {% endif %} +
+
+
diff --git a/Custom_Templates/customer_templates/Front/_widget_course_progress.html.liquid b/Custom_Templates/customer_templates/Front Academy/_widget_course_progress.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/_widget_course_progress.html.liquid rename to Custom_Templates/customer_templates/Front Academy/_widget_course_progress.html.liquid diff --git a/Custom_Templates/customer_templates/Front/catalog.html.liquid b/Custom_Templates/customer_templates/Front Academy/catalog.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/catalog.html.liquid rename to Custom_Templates/customer_templates/Front Academy/catalog.html.liquid diff --git a/Custom_Templates/customer_templates/Front/course.html.liquid b/Custom_Templates/customer_templates/Front Academy/course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/course.html.liquid rename to Custom_Templates/customer_templates/Front Academy/course.html.liquid diff --git a/Custom_Templates/customer_templates/Front/courses.html.liquid b/Custom_Templates/customer_templates/Front Academy/courses.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/courses.html.liquid rename to Custom_Templates/customer_templates/Front Academy/courses.html.liquid diff --git a/Custom_Templates/customer_templates/Front/dashboard.html.liquid b/Custom_Templates/customer_templates/Front Academy/dashboard.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Front/dashboard.html.liquid rename to Custom_Templates/customer_templates/Front Academy/dashboard.html.liquid diff --git a/Custom_Templates/customer_templates/Front Academy/front-partners.html.liquid b/Custom_Templates/customer_templates/Front Academy/front-partners.html.liquid new file mode 100644 index 00000000..e84da3dd --- /dev/null +++ b/Custom_Templates/customer_templates/Front Academy/front-partners.html.liquid @@ -0,0 +1,12 @@ +{% if current_person.signed_in?%} + +{% else %} + +{%endif%} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Front/homepage.html.liquid b/Custom_Templates/customer_templates/Front Academy/homepage.html.liquid similarity index 96% rename from Custom_Templates/customer_templates/Front/homepage.html.liquid rename to Custom_Templates/customer_templates/Front Academy/homepage.html.liquid index af8b693e..9ffe930b 100644 --- a/Custom_Templates/customer_templates/Front/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Front Academy/homepage.html.liquid @@ -18,7 +18,7 @@