diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 687bf7b4..13e8f038 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/HackerRank Sandbox/.DS_Store b/Custom_Templates/customer_templates/HackerRank Sandbox/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/Custom_Templates/customer_templates/HackerRank Sandbox/.DS_Store differ diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_account_tabs.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_account_tabs.html.liquid new file mode 100644 index 00000000..f4de6c8e --- /dev/null +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_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/HackerRank Sandbox/_cards_course.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_course.html.liquid index 5402ed64..6ef1f60e 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_course.html.liquid @@ -15,18 +15,12 @@ {{ course.name }}
- {{ course.instructor_names }} + {{ course.short_description }}
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_learning_path.html.liquid index cdc870e9..8814790b 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_learning_path.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_learning_path.html.liquid @@ -1,102 +1,30 @@ -{% comment %}This section of code will iterate over all courses in a learning path and average out the completion per course compared to the total of the LP {% endcomment %} -{% assign total_progress = 0 %} -{% assign completed_progress = 0 %} - -{% for item in learning_path.items %} - {% if item.course? %} - {% assign total_progress = total_progress | plus: 100 %} - - {% assign completed_progress = completed_progress | plus: item.progress %} - {% endif %} -{% endfor %} - -{% assign total_progress = total_progress | times: 0.01 %} -{% assign calculated_progress = completed_progress | divided_by: total_progress %} - -
+
-
{{ 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 }}
-
- {% comment %}{% t shared.progress, count: learning_path.progress %}{% endcomment %} - {% if calculated_progress < 1 %} - Not Started - {% else %} - {{calculated_progress | ceil }}% Completed - {% endif %} -
- -
-
-
-
-
-
-
-
-
-
- - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_training_event.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_training_event.html.liquid index 1176157e..b2f19148 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_training_event.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_cards_training_event.html.liquid @@ -1,38 +1,46 @@ -
+

{{ 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.day }}
-
- {{ training_event.sessions.first.year }} +
+
+ {{ training_event.sessions.first.month }} +
+
+ {{ training_event.sessions.first.year }} +
-
+
- - - {% t .sessions, count: training_event.sessions.size %} - + + diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_header.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_header.html.liquid index 17618eb5..09aa2089 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_header.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_header.html.liquid @@ -1,180 +1,27 @@ -
-
-
- {% if current_person.signed_in? %} - - - {% endif %} -
- {% if current_school.logo_url %} -

- - + + {{ current_school.name }} - -

- {% else %} - - {{ current_school.name }} - - {% endif %} - -
- -
- - {% if current_person.signed_in? %} - -
- - -
- {% else %} - - {% endif %} -
-
- -
-
- {% if current_person.signed_in? %} - {{ current_person.name }} -
- {{ current_person.name }} -
- {% endif %} -
- - {% for website_navigation in navigations.header_navigations %} - - {{ website_navigation.name }} - - {% endfor %} -
- {% unless current_school.sso_active? %} - - {% t .profile_settings %} - - {% endunless %} - - {% t .sign_out %} - + +
+
+ +
+
+ +
+
-
- -{% include "messages" %} + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_course.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_course.html.liquid index 15976a51..5f7aff84 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_course.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_course.html.liquid @@ -26,13 +26,11 @@
- {% comment %} {% if course.optional? %}
{% t shared.optional %}
{% endif %} - {% endcomment %}
{% else %} @@ -48,13 +46,11 @@ {{ course.name }}
- {% comment %} - {% if course.optional? %} -
- {% t shared.optional %} -
- {% endif %} - {% endcomment %} + {% if course.optional? %} +
+ {% t shared.optional %} +
+ {% endif %}
{% endif %} diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_training_session.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_training_session.html.liquid index 93616c7c..f796cdf4 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_training_session.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_learning_path_training_session.html.liquid @@ -21,13 +21,11 @@
- {% comment %} {% if training_session.optional? %}
{% t shared.optional %}
{% endif %} - {% endcomment %}
{% else %} @@ -45,13 +43,11 @@
{{ training_session.name }}
{{ training_session.caption }}
- {% comment %} {% if training_session.optional? %}
{% t shared.optional %}
{% endif %} - {% endcomment %}
{% endif %} diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_sub_navigation.html.liquid index b0e7e0ce..b432c10b 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_sub_navigation.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_sub_navigation.html.liquid @@ -4,76 +4,10 @@
- {% if link.label == 'Dashboard' %} - My Dashboard - {% elsif link.label == 'Catalog' %} - Courses Library - {% elsif link.label == 'Events' %} - Live Training Webinars - {% else %} - {{ link.label }} - {% endif %} + {{ link.label }}
{% endfor %} - - - - -
- - - diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_cta.html.liquid index d777c5f6..5f959556 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_cta.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_cta.html.liquid @@ -1,51 +1,33 @@ -{% 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 %} + {% if training_session.show_calendar_links? %} + {% include "training_session_calendars" %} + {% endif %} + {% if training_session.cta.undo? %} {% endif %} - {% if training_session.not_registered? %} - {% endif %}
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_date.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_date.html.liquid index 48694035..860040fe 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_date.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_date.html.liquid @@ -1,14 +1,16 @@
-
- {{ training_session.day }} -
-
-
- {{ training_session.month }} +
+
+ {{ training_session.day }}
-
- {{ training_session.year }} +
+
+ {{ training_session.month }} +
+
+ {{ training_session.year }} +
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_desktop_view.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_desktop_view.html.liquid index 5c1abfec..d689ade2 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_desktop_view.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_desktop_view.html.liquid @@ -1,40 +1,43 @@
{% include "training_session_header" %}
-
-
+
+
-
-
- {% include "training_session_details" %} +
+
+ {% include "training_session_status" %} + {% include "training_session_date" %}
-
+
+ {% include "training_session_details" %} {% include "training_session_cta" %}
+
-
- {% include "training_session_description" %} -
+ {% include "training_session_description" %}
-
-
- {% t shared.more_sessions %} -
- {% if training_event.sessions.size > 1 %} - {% include "training_session_more_sessions" %} - {% else %} -
- {% t .empty %} -
- {% t .empty %} +
+
+
+ {% t shared.more_sessions %}
-
- {% endif %} + {% if training_event.sessions.size > 1 %} + {% include "training_session_more_sessions" %} + {% else %} +
+ {% t .empty %} +
+ {% t .empty %} +
+
+ {% endif %} +
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_details.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_details.html.liquid index ac9b4c93..64a925b7 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_details.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_details.html.liquid @@ -1,23 +1,22 @@ -
- {% include "training_session_date" %} +
- {{ training_session.time_period }} {{ training_session.time_zone }} +
- {% if training_session.location %} + {% if training_session.approved? and training_session.location %}
- {% comment %} {{ training_session.location }} {% endcomment %} + {{ training_session.location }}
{% endif %} - {% if training_session.session_url %} + {% if training_session.approved? and training_session.session_url %} {% endif %} diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_header.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_header.html.liquid index 10434cfa..b845976d 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_header.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_header.html.liquid @@ -1,6 +1,6 @@
{% t shared.event_types, key: training_event.event_type %} - +
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_mobile_view.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_mobile_view.html.liquid index 00455d4e..3270d65d 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_mobile_view.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_mobile_view.html.liquid @@ -1,22 +1,27 @@ -
-
+
+
{% include "training_session_header" %}
- {% include "training_session_details" %} -
- {% include "training_session_cta" %} -
-
-
- {% include "training_session_description" %} -
- -{% if training_event.sessions.size > 1 %} -
-
- {% t shared.more_sessions %} +
+ {% include "training_session_status" %} + {% include "training_session_date" %} + {% include "training_session_details" %} +
+ {% include "training_session_cta" %}
- {% include "training_session_more_sessions" %} + {% include "training_session_description" %}
-{% endif %} + + {% if training_event.sessions.size > 1 %} +
+
+
+ {% t shared.more_sessions %} +
+ {% include "training_session_more_sessions" %} +
+
+ {% endif %} + +
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_status.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_status.html.liquid new file mode 100644 index 00000000..75116282 --- /dev/null +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_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/HackerRank Sandbox/_training_session_tile.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_tile.html.liquid index e5ad8714..669fbb6c 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_tile.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/_training_session_tile.html.liquid @@ -3,15 +3,22 @@ class="np-training-session-tile" href="{% route training_session, id: session.id %}" > - -
-
- {{ session.month }} {{ session.day }}, {{ session.year }} -
-
- {{ session.time_period }} {{ session.time_zone }} -
+
+ +
+ {{ session.status.label }} +
+
+
+
+
+ {{ session.month }} {{ session.day }}, {{ session.year }} +
+
+ {{ session.time_period }} {{ session.time_zone }} +
+
+
-
{% endif %} diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/account.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/account.html.liquid index 2ad5d917..df96f9b6 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/account.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/account.html.liquid @@ -1,4 +1,5 @@ {% include "header" %} +{% include "account_tabs" %}
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/auth_url_email.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/auth_url_email.html.liquid index 8e2ecc17..a413959c 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/auth_url_email.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/auth_url_email.html.liquid @@ -8,8 +8,7 @@ {% t shared.welcome_to_school, school_name: current_school.name %}
- {% comment %} {% t .headline, key: current_school.course_vocabulary %} {% endcomment %} - To access the HackerRank Academy, simply enter your first name, last name, and work email address below. + {% t .headline, key: current_school.course_vocabulary %}
- - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/case-studies.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/case-studies.html.liquid deleted file mode 100644 index 74a3c5bc..00000000 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/case-studies.html.liquid +++ /dev/null @@ -1,193 +0,0 @@ -{% include "header" %} -{% include "course_version_outdated_alert", courses: courses.featured %} -
- {% include "sub_navigation" %} -
-
-
-

{{ custom_page.headline }}

-
- {{ custom_page.subheadline }} -
-
-
- - {% if courses.in_catalog.any? %} -
- {% for course in courses.in_catalog %} - {% for category in course.categories %} - {% if category.name == 'Case Studies' %} -
- {% include "cards_course" with course %} -
- {% endif %} - {% endfor %} - {% endfor %} -
- {% else %} - - {% endif %} -
-
-{% include "footer" %} - - - diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/catalog.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/catalog.html.liquid index 907226bb..f2b6e7d5 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/catalog.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/catalog.html.liquid @@ -1,63 +1,14 @@ {% include "header" %} -{% include "course_version_outdated_alert", courses: courses.in_catalog %} -{% include "sub_navigation" %}
+{% include "course_version_outdated_alert", courses: courses.in_catalog %}
{{ catalog.headline }}
{{ catalog.subheadline }}
{% capture label %}{% t shared.filters.by_category %}{% endcapture %} - - {% if courses.in_catalog.any? %} - {% - include "filter_dropdown", - filters: courses.filters, - key: "category_uuid", - label: label - %} - {% endif %}
{% include "courses_catalog" %} -
+ {% include "footer" %} - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/course.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/course.html.liquid index 2403c3da..d77e09ba 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/course.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/course.html.liquid @@ -1,18 +1,4 @@ - - {% if course.enrolled? %} - - - {% else %} - - - {% endif %} - -{% comment %} {% include "header" %} +{% include "header" %}
{% include "course_desktop_view" %} @@ -21,4 +7,4 @@ {% include "course_mobile_view" %}
-{% include "footer" %} {% endcomment %} +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/dashboard.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/dashboard.html.liquid index f5c8e7df..572be6e8 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/dashboard.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/dashboard.html.liquid @@ -1,19 +1,34 @@ {% include "header" %} {% include "course_version_outdated_alert", courses: courses.enrolled %} -{% include "sub_navigation" %}
-
-
- {% if features.learning_paths? %} -
- {% t shared.learning_paths %} +
+

Continue learning

+

View all of the courses and learning paths that you've enrolled in

+
+
+ {% if features.learning_paths? %} +
+

My learning paths

+
+
+ {% for learning_path in learning_paths.enrolled %} +
+ {% include "cards_learning_path" with learning_path %} +
+ {% endfor %} +
+ {% endif %}
- {% include "learning_paths_index", items: learning_paths.enrolled %} - {% endif %}
- {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +

My courses

- {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% for course in courses.enrolled %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
{% if features.training_events? %}
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/homepage.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/homepage.html.liquid index 03c64f86..bd79ff96 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/homepage.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/homepage.html.liquid @@ -1,47 +1,38 @@ +
{% include "header" %} -{% include "course_version_outdated_alert", courses: courses.featured %} -
-
- {{ homepage.headline }} +
-
+
{{ homepage.headline }}
-
+
{{ homepage.subheadline }}
- - {% t .discover %} -
- {% include "sub_navigation" %} -
-{% include "footer" %} + diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/learning_paths.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/learning_paths.html.liquid index e6e10cba..10ad864f 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/learning_paths.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/learning_paths.html.liquid @@ -1,14 +1,15 @@ {% include "header" %} -{% include "sub_navigation" %} -
-
-
- {% t shared.learning_paths %} +
+
+

Learning Paths

+

Review all of the learning paths on the HackerRank Academy

-
- {% t .subtitle %} +
+ {% for learning_path in learning_paths.available %} +
+ {% include "cards_learning_path" with learning_path %} +
+ {% endfor %}
- {% include "learning_paths_index", items: learning_paths.available %} -
{% include "footer" %} diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/new-product-releases.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/new-product-releases.html.liquid deleted file mode 100644 index f787b7e5..00000000 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/new-product-releases.html.liquid +++ /dev/null @@ -1,193 +0,0 @@ -{% include "header" %} -{% include "course_version_outdated_alert", courses: courses.featured %} -
- {% include "sub_navigation" %} -
-
-
-

{{ custom_page.headline }}

-
- {{ custom_page.subheadline }} -
-
-
- - {% if courses.in_catalog.any? %} -
- {% for course in courses.in_catalog %} - {% for category in course.categories %} - {% if category.id == '37ebf83e-69fb-4b12-ae98-e1be1ecd3342' %} -
- {% include "cards_course" with course %} -
- {% endif %} - {% endfor %} - {% endfor %} -
- {% else %} - - {% endif %} -
-
-{% include "footer" %} - - - diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/training_events.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/training_events.html.liquid index f7603c70..139717ee 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/training_events.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/training_events.html.liquid @@ -4,10 +4,10 @@
- Live Training Webinars + {% t .title %}
- View and register for upcoming online webinars + {% t .subtitle %}
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/training_session_attendance.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/training_session_attendance.html.liquid index 71bb6119..e6a0ec1c 100644 --- a/Custom_Templates/customer_templates/HackerRank Sandbox/training_session_attendance.html.liquid +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/training_session_attendance.html.liquid @@ -2,7 +2,7 @@
{% if token %} - +
{{ training_session.title }}
diff --git a/Custom_Templates/customer_templates/HackerRank Sandbox/transcript.html.liquid b/Custom_Templates/customer_templates/HackerRank Sandbox/transcript.html.liquid new file mode 100644 index 00000000..b6cb5428 --- /dev/null +++ b/Custom_Templates/customer_templates/HackerRank Sandbox/transcript.html.liquid @@ -0,0 +1,8 @@ +{% include "header" %} +{% include "account_tabs" %} + +
+ {% transcript %} +
+ +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store b/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/Custom_Templates/customer_templates/Walmart Supplier Prod/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid index cfe32b6a..d031906d 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_cards_course.html.liquid @@ -38,7 +38,12 @@ {% t shared.view %} {% else %} - + {% t shared.view %} {% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid index 9b04a95f..869ed47f 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_catalog_categories.html.liquid @@ -10,7 +10,8 @@ {% assign uniq_cats = '' %} {% for course in courses.in_catalog %} {% for category in course.categories %} - {% if available_categories contains category.name %} + {% if available_categories contains category.name %} + {% unless uniq_cats contains category.name %} @@ -37,18 +38,18 @@ cursor: pointer; border-radius: 10px; overflow: hidden; - transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; background: #13244c; padding: 20px; } .category-card:hover { - transform: scale(1.075); - box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); + transform: scale(1.075); + box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); } .category-card-image { width: 100%; height: auto; - border-radius: 8px; + border-radius: 8px; } .category-card-image { width: 100%; @@ -101,4 +102,4 @@ addCategoryCardImage(); sortCategoryCards(); }); - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid index 4df5677f..3135d3a9 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_courses_catalog.html.liquid @@ -6,20 +6,45 @@ {% for category in course.categories %} {% unless category.name == 'Blog' %} {% unless uniq_courses contains course.name %} -
- {% include "cards_course" with course %} -
- {% assign uniq_courses = uniq_courses | append: course.name %} + + {% if us_user_grow %} + {% if category.name == 'Grow With Walmart' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% elsif us_user_supplier %} + {% if category.name == 'Supplier Academy' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% elsif india_user %} + {% if category.name == 'Walmart Vriddhi' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% elsif mexico_user %} + {% if category.name == 'Crece con Walmart' %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endif %} + {% comment %} {% assign uniq_courses = uniq_courses | append: course.name %} {% endcomment %} {% endunless %} {% endunless %} {% endfor %} {% endfor %}
-{% else %} - {% capture message %} - {% t shared.zero_state.courses.catalog, - key: current_school.course_vocabulary - %} - {% endcapture %} - {% include "courses_zero_state", message: message %} + + {% if us_user_grow == false and us_user_supplier == false and india_user == false and mexico_user == false %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "grow-with-walmart-zero-state", message: message %} + {% endif %} {% endif %} diff --git a/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section.html.liquid b/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section.html.liquid index ebea085c..7d36511e 100644 --- a/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Supplier Prod/_welcome_section.html.liquid @@ -1,25 +1,27 @@
-
- No matter where you are in your journey, Supplier Academy is your source for - everything you need to build a strong, lasting relationship with Walmart. -
-
-
Here’s how to get started:
-
+
+
+ No matter where you are in your journey, Supplier Academy is your source for + everything you need to build a strong, lasting relationship with Walmart. +
+
+
Here’s how to get started:
+
    +
  • + New to Walmart? + Check out the Grow With Walmart programs! +
  • +
  • + Seasoned supplier? + Explore the categories below to hone your skills and grow your business. +
  • +
  • + Have system-specific questions? + Visit our Help Docs directory. +
  • +
+