From a65ad4740c073bad857039a0200104e0f0e58373 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Fri, 24 May 2024 18:35:02 -0400 Subject: [PATCH] Luminate's templates for Mexico school. Todos. Hid the Register button in Sandata. --- .../_training_session_cta.html.liquid | 2 + .../_account_tabs.html.liquid | 23 ++++ .../_cards_course.html.liquid | 9 +- .../_cards_course_ongoing.html.liquid | 8 +- .../_courses_index.html.liquid | 25 +--- .../_footer.html.liquid | 83 ++++--------- .../Walmart Luminate Mexico/_head.html.liquid | 117 ++++++++---------- .../_header.html.liquid | 24 ++-- .../_spanish_lang.html.liquid | 53 +++++++- .../_sub_navigation.html.liquid | 4 +- .../_training_session_status.html.liquid | 6 + .../catalog.html.liquid | 4 +- .../transcript.html.liquid | 8 ++ .../_courses_catalog.html.liquid | 6 +- Todos.md | 9 +- 15 files changed, 203 insertions(+), 178 deletions(-) create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_tabs.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_status.html.liquid create mode 100644 Custom_Templates/customer_templates/Walmart Luminate Mexico/transcript.html.liquid diff --git a/Custom_Templates/customer_templates/Sandata Learn/_training_session_cta.html.liquid b/Custom_Templates/customer_templates/Sandata Learn/_training_session_cta.html.liquid index d777c5f6..1757564b 100644 --- a/Custom_Templates/customer_templates/Sandata Learn/_training_session_cta.html.liquid +++ b/Custom_Templates/customer_templates/Sandata Learn/_training_session_cta.html.liquid @@ -20,6 +20,7 @@ {% t .no_seats %} {% endif %} +{% comment %}
+{% endcomment %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_tabs.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_account_tabs.html.liquid new file mode 100644 index 00000000..f4de6c8e --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_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/Walmart Luminate Mexico/_cards_course.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid index 2bd8026a..274c90ea 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_cards_course.html.liquid @@ -34,7 +34,14 @@ {% endif %} @@ -139,10 +131,10 @@ diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_status.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_training_session_status.html.liquid new file mode 100644 index 00000000..75116282 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/_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/Walmart Luminate Mexico/catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid index e85af73b..d7b380b8 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/catalog.html.liquid @@ -4,8 +4,8 @@
-
{{ catalog.headline }}
-
{{ catalog.subheadline }}
+
{{ catalog.headline }}
+
{{ catalog.subheadline }}
{% capture label %}{% t shared.filters.by_category %}{% endcapture %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Mexico/transcript.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Mexico/transcript.html.liquid new file mode 100644 index 00000000..b6cb5428 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Luminate Mexico/transcript.html.liquid @@ -0,0 +1,8 @@ +{% include "header" %} +{% include "account_tabs" %} + +
+ {% transcript %} +
+ +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid index 2d4e77c6..a32715d5 100644 --- a/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Luminate Prod/_courses_catalog.html.liquid @@ -1,7 +1,7 @@ {% if courses.in_catalog.any? %}
{% for course in courses.in_catalog %} - {% unless course.properties.is_article_course %} + {% unless course.properties.is_article_course %} {% if course.id == "6cc26c57-34db-4b8e-a38b-ad321ce18add" or course.id == "ac4fbf2e-ed8f-404d-b995-f0ef73481466" %} {% if current_person.properties.hide_api_certification_exam_course == false %}
@@ -20,7 +20,7 @@ {% include "cards_course" with course %}
{% endif %} - {% endif %} + {% endif %} {% endunless %} {% endfor %}
@@ -31,4 +31,4 @@ %} {% endcapture %} {% include "courses_zero_state", message: message %} -{% endif %} +{% endif %} \ No newline at end of file diff --git a/Todos.md b/Todos.md index b03d3d3a..65665dd1 100644 --- a/Todos.md +++ b/Todos.md @@ -305,4 +305,11 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th ## 05-22-2024 - [ ] Cin7 - Update Footer Links -- [ ] HowardHanna - Update menu items for HH and AT. +- [X] HowardHanna - Update menu items for HH and AT. + +## 05-24-2024 + +- [ ] Anthology - CSQL & CAM for Additional Instance - Spanish +- [ ] Anthology - Hero & Subnavigation can be updated whenever +- [ ] Anthology - Remind Katie about the load time plan & message +- [ ] Anthology - Remind KC about the email to Locked Anthology users