diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_calendar.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_calendar.html.liquid new file mode 100644 index 00000000..542f1a8c --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_calendar.html.liquid @@ -0,0 +1,325 @@ + +{% for training_event in training_events.available %} + {% for session in training_event.sessions %} + + {% endfor %} + {% endfor %} + + + +
+
+
+
+
+ +
+

""

+
+ +
+ +
+ +
+
Su
+
Mo
+
Tu
+
We
+
Th
+
Fr
+
Sa
+
+
+
+
Today
+ +
+
+ + + + diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_cards_course_banner.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_cards_course_banner.html.liquid new file mode 100644 index 00000000..1b74d0a5 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_cards_course_banner.html.liquid @@ -0,0 +1,43 @@ +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} + +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + + {{ course.name }} +
+
+

+ {{ course.name }} +

+
+
+
+ {{ course.short_description }} +
+ +
+
+
+ + diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_categorie_courses.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_categorie_courses.html.liquid new file mode 100644 index 00000000..b52ab438 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_categorie_courses.html.liquid @@ -0,0 +1,203 @@ +
+
+
+ {{categorie_name }} +
+
+ + +
+
+ {% if courses.in_catalog.size > 0 %} + {% assign courseids = "" %} + {% for course in courses.in_catalog %} + {% for cat in course.categories %} + {% if cat.name contains categorie_name %} + {% assign courseids = courseids | append: course.id | append: ":" %} + {% endif %} + {% endfor %} + {% endfor %} + {% assign tempArr = courseids | split: ":" %} + {% assign idArr = tempArr | uniq %} + + + {% assign courses_count = 0 %} +
+
+ {% for course in courses.in_catalog %} + {% for id in idArr %} + {% if course.id == id %} + {% assign courses_count = courses_count | plus: 1 %} +
+ {% include "cards_course" with course %} +
+ {% endif %} + {% endfor %} + {% endfor %} +
+
+ + {% if courses_count > 0 %} + {% comment %}
+ See more +
{% endcomment %} + {% else %} + + + {% endif %} + {% else %} + + {% endif %} +
+ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_content_by_certificates.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_content_by_certificates.html.liquid new file mode 100644 index 00000000..d347538f --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_content_by_certificates.html.liquid @@ -0,0 +1,55 @@ + + +
+ {% for learning_path in learning_paths.available %} + {% if learning_path.has_certificate? %} + +
+
+ {{ learning_path.name }} +
+
+
+
+ {% endif %} + {% endfor %} +
+ + diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_dashboard_ongoing_training.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_dashboard_ongoing_training.html.liquid new file mode 100644 index 00000000..23affa54 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_dashboard_ongoing_training.html.liquid @@ -0,0 +1,194 @@ +
+
+
+ Ongoing Training +
+ +
+ {% if items.size > 0 %} + {% assign ongoing_courses_count = 0 %} +
+
+ {% for course in items %} + {% if course.properties.is_article_course == false %} + {% if course.progress > 0 and course.progress < 100 %} + {% assign ongoing_courses_count = ongoing_courses_count | plus: 1 %} +
+ {% include "cards_course_banner" with course %} +
+ {% endif %} + {% endif %} + {% endfor %} +
+
+ + {% if ongoing_courses_count > 0 %} +
+ See more +
+ {% else %} + + + {% endif %} + {% else %} + + {% endif %} +
+ + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_basic_notstarted_courses.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_basic_notstarted_courses.html.liquid new file mode 100644 index 00000000..56361fb6 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_basic_notstarted_courses.html.liquid @@ -0,0 +1,186 @@ +
+
+
+ Available Content +
+ +
+ {% if items.size > 0 %} + {% assign available_courses_count = 0 %} +
+
+ {% for course in items %} + {% if course.started? == false %} + {% assign available_courses_count = available_courses_count | plus: 1 %} + +
+ {% include "cards_course_ongoing" with course %} +
+ {% endif %} + {% endfor %} +
+
+ + {% if available_courses_count > 0 %} +
+ See more +
+ {% else %} + + + {% endif %} + {% else %} + + {% endif %} +
+ + + + + + diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_featured.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_featured.html.liquid index c32b8185..c175ac12 100644 --- a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_featured.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_homepage_featured.html.liquid @@ -27,8 +27,8 @@ {% if is_featured %} {% assign featured_courses_count = featured_courses_count | plus: 1 %} - - +{% endif %} + + {% endif %} + {% else %} + + {% endif %} + + + + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_topic_maincategory_leftnav.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_topic_maincategory_leftnav.html.liquid new file mode 100644 index 00000000..e7dc3d7b --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/_topic_maincategory_leftnav.html.liquid @@ -0,0 +1,61 @@ +{% assign categories = current_school.filterable_categories %} + +{% assign categoryname = "" %} +{% for category in categories %} + {% assign categoryfullname = category.name %} + {% assign nameArr = categoryfullname | remove: '[' | split: "]" %} + {% assign categoryname = categoryname | append: nameArr[0] | append: ',' %} +{% endfor %} +{% assign tempArr = categoryname | split: "," %} +{% assign catArr = tempArr | uniq %} + +
+ {% for catname in catArr %} + +
+
+ {{ catname }} +
+
+
+
+ {% endfor %} +
+ + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/filtered-catalog.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/filtered-catalog.html.liquid new file mode 100644 index 00000000..5c6052e9 --- /dev/null +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/filtered-catalog.html.liquid @@ -0,0 +1,199 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% include "sub_navigation" %} +{% assign catnamefromurl = params['catname'] %} +{% assign catnamefromurl = catnamefromurl | url_decode %} +
+
+
+
{{ catnamefromurl }}
+
+
+
+
+ +
+ +
+ + {% for category in sorted_categories %} + {% if category.name contains catnamefromurl %} + {% include "subcategorie_courses" categorie_fullname: category.name %} + {% endif %} + {% endfor %} + + + + +
+{% include "footer" %} + + + + \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/homepage.html.liquid b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/homepage.html.liquid index 2cef5398..909bbd08 100644 --- a/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Walmart Scintilla Dev Copy/homepage.html.liquid @@ -77,9 +77,15 @@ {{ homepage.headline }}
-
- {{ homepage.subheadline }} -
+ {% if basic_3p_user %} +
+ + + + {% else %} +
+ {{ homepage.subheadline }} +