@@ -42,6 +45,7 @@
{% if show_learning_paths_section or show_events_section %}
+
{% if show_learning_paths_section %}
@@ -50,24 +54,26 @@
{% include "learning_paths_index", items: learning_paths.enrolled, card_classes: learning_path_card_classes %}
{% endif %}
+
{% if show_events_section %}
Upcoming Events
{% include "training_events_dashboard", card_classes: event_card_classes %}
-
-
+
{% endif %}
- {% comment %}
-
-
Recent Achievements
-
- {% include "widget_achievements" %}
-
-
- {% endcomment %}
-
+
+ {%comment%} This is a test section for understanding blocks-layout and the formatting required to render an additional 'achievements' section {%endcomment%}
+ {% if show_events_section %}
+
+
+ Blocks-Layout Test Field
+
+ {% include "training_events_dashboard", card_classes: event_card_classes %}
+
+ {% endif %}
+
{% endif %}
diff --git a/NP_Custom_Templates/customer_templates/Stripe/dashboard.html.liquid b/NP_Custom_Templates/customer_templates/Stripe/dashboard.html.liquid
index ea8e152c..0756d43d 100644
--- a/NP_Custom_Templates/customer_templates/Stripe/dashboard.html.liquid
+++ b/NP_Custom_Templates/customer_templates/Stripe/dashboard.html.liquid
@@ -1,4 +1,7 @@
-{% comment %} Initialize Variables {% endcomment %}
+
+{%comment%}
{% assign show_learning_paths_section = false %}
{% assign show_events_section = false %}
{% assign learning_path_section_classes = "" %}
@@ -6,17 +9,14 @@
{% assign learning_path_card_classes = "col-md-6" %}
{% assign event_card_classes = "col-x-sm-6 col-sm-6 col-md-4 col-lg-3" %}
-{% comment %} Determine if learning paths are enabled and the user is enrolled in at least one learning path {% endcomment %}
{% if features.learning_paths? and learning_paths.enrolled and learning_paths.enrolled.any? %}
{% assign show_learning_paths_section = true %}
{% endif %}
-{% comment %} Determine if events are enabled and the user is registered for at least one event {% endcomment %}
{% if features.training_events? and training_events.enrolled and training_events.enrolled.any? %}
{% assign show_events_section = true %}
{% endif %}
-{% comment %} Determine whether special classes need to be added to non course sections and the cards within {% endcomment %}
{% if show_learning_paths_section %}
{% assign learning_path_section_classes = "col-md-8 col-lg-6" %}
{% assign learning_path_card_classes = "" %}
@@ -38,14 +38,12 @@
- {% comment %} Show the first featured course as a banner {% endcomment %}
{% if courses.featured and courses.featured.any? %}
{% include "banner_course", course: courses.featured.first, button_text: "Get Started" %}
{% endif %}
- {% comment %} Show this section if either the event section or learning path section has content {% endcomment %}
{% if show_learning_paths_section or show_events_section %}
@@ -100,4 +98,4 @@
-{% include "footer" %}
\ No newline at end of file
+{% include "footer" %}{%endcomment%}
\ No newline at end of file
diff --git a/NP_Custom_Templates/customer_templates/Stripe/partner_certs.html.liquid b/NP_Custom_Templates/customer_templates/Stripe/partner_certs.html.liquid
deleted file mode 100644
index 6b3a3fc5..00000000
--- a/NP_Custom_Templates/customer_templates/Stripe/partner_certs.html.liquid
+++ /dev/null
@@ -1,17 +0,0 @@
-{% include "header", current_page_orgin: "courses" %}
-{% include "sub_navigation", current_page: "/app/partnercerts" %}
-
-
- Partner Certification Courses
-
-
- {% capture subtitle_text %}
- {%comment%}{% t .headline, key: current_school.course_vocabulary %}{%endcomment%}
- Hey there, {{ current_person.name }}! Are you ready to move onto your Partner Challenge Missions? Let's go!
- {% endcapture %}
- {{ subtitle_text | replace: "Courses", "tutorials" }}
-
-
- {% include "courses_partnercerts_index", card_classes: "col-xs-12 col-sm-6 col-lg-4 np-stretch-content" %}
-
-{% include "footer" %}
\ No newline at end of file
diff --git a/NP_Custom_Templates/customer_templates/Stripe/partner_training.html.liquid b/NP_Custom_Templates/customer_templates/Stripe/partner_training.html.liquid
deleted file mode 100644
index b3594c33..00000000
--- a/NP_Custom_Templates/customer_templates/Stripe/partner_training.html.liquid
+++ /dev/null
@@ -1,15 +0,0 @@
-{% include "header", current_page_orgin: "courses" %}
-{% include "sub_navigation", current_page: "/app/partnertraining" %}
-
-
- Partner Training Courses
-
-
- {%comment%}{% t .headline, key: current_school.course_vocabulary %}{%endcomment%}
- Hey there {{ current_person.name }}! Welcome to your partner training center! Complete at least one of the courses to complete your certification.
- {{ subtitle_text | replace: "Courses", "tutorials" }}
-
-
-
-
-{% include "footer" %}
\ No newline at end of file