diff --git a/Custom_Templates/customer_templates/DataSnipper/_header.html.liquid b/Custom_Templates/customer_templates/DataSnipper/_header.html.liquid index 330d513b..4f330bbd 100644 --- a/Custom_Templates/customer_templates/DataSnipper/_header.html.liquid +++ b/Custom_Templates/customer_templates/DataSnipper/_header.html.liquid @@ -7,8 +7,8 @@ document.title = `${defaultPageTitle} | Learning Paths` } else if (window.location.pathname == "/app/training_events") { document.title = `${defaultPageTitle} | Training Events` - } else if (window.location.pathname == "/app/upcoming-trainings") { - document.title = `${defaultPageTitle} | Upcoming Trainings` + //} else if (window.location.pathname == "/app/upcoming-trainings") { + // document.title = `${defaultPageTitle} | Upcoming Trainings` } @@ -50,15 +50,20 @@
{% endif %} {% endcomment %} - {% endunless %} + {% comment %} {% endunless %} {% endcomment %} {% endfor %} + {% comment %} {% for website_navigation in navigations.header_navigations_external %}
  • - {% endfor %} + {% endfor %} + {% endcomment %} @@ -255,4 +263,4 @@ padding-right: 0; } } - \ No newline at end of file + diff --git a/Custom_Templates/customer_templates/DataSnipper/catalog.html.liquid b/Custom_Templates/customer_templates/DataSnipper/catalog.html.liquid index 6917a2c2..fa7f0e38 100644 --- a/Custom_Templates/customer_templates/DataSnipper/catalog.html.liquid +++ b/Custom_Templates/customer_templates/DataSnipper/catalog.html.liquid @@ -1,6 +1,29 @@ {% include "header" %} {% include "course_version_outdated_alert", courses: courses.in_catalog %}
    +
    + Available Courses +
    + {% if courses.in_catalog.any? %} +
    + {% for course in courses.in_catalog %} + {% unless course.enrolled? %} +
    + {% include "cards_course" with course %} +
    + {% endunless %} + {% endfor %} +
    + {% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog + , key: current_school.course_vocabulary %} + {% endcapture %} + {% include "courses_zero_state", message: message %} + {% endif %} + + + {% comment %}
    {{ catalog.headline }}
    @@ -9,7 +32,7 @@ {% capture label %} {% t shared.filters.by_category %}{% endcapture %} - {% comment %} {% if courses.in_catalog.any? %} + {% if courses.in_catalog.any? %} {% include "filter_dropdown", filters: courses.filters, @@ -18,6 +41,6 @@ %} {% endif %} {% endcomment %}
    - {% include "courses_catalog" %} +{% comment %} {% include "courses_catalog" %} {% endcomment %}
    -{% include "footer" %} \ No newline at end of file +{% include "footer" %} diff --git a/Custom_Templates/customer_templates/DataSnipper/dashboard.html.liquid b/Custom_Templates/customer_templates/DataSnipper/dashboard.html.liquid index af72a4f8..49186cdd 100644 --- a/Custom_Templates/customer_templates/DataSnipper/dashboard.html.liquid +++ b/Custom_Templates/customer_templates/DataSnipper/dashboard.html.liquid @@ -2,7 +2,16 @@ {% include "course_version_outdated_alert", courses: courses.enrolled %} {% include "sub_navigation" %}
    - + +
    +
    + {% if features.learning_paths? %} +
    + {% t shared.learning_paths %} +
    + {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
    @@ -10,27 +19,6 @@
    {% include "courses_index", class: "col-xs-12 col-md-6 col-lg-4 np-stretch-content" %} -
    - Available Courses -
    - {% if courses.in_catalog.any? %} -
    - {% for course in courses.in_catalog %} - {% unless course.enrolled? %} -
    - {% include "cards_course" with course %} -
    - {% endunless %} - {% endfor %} -
    - {% else %} - {% capture message %} - {% t shared.zero_state.courses.catalog - , key: current_school.course_vocabulary %} - {% endcapture %} - {% include "courses_zero_state", message: message %} - {% endif %} -
    {% if features.training_events? %}
    @@ -112,4 +100,4 @@ col.style.display = "flex" } }) } - {% endcomment %} \ No newline at end of file + {% endcomment %} diff --git a/Scripts/API_Tests/bulk_invite_and_props.py b/Scripts/API_Tests/bulk_invite_and_props.py index e6000efd..22f2396c 100644 --- a/Scripts/API_Tests/bulk_invite_and_props.py +++ b/Scripts/API_Tests/bulk_invite_and_props.py @@ -13,7 +13,7 @@ HEADERS = { "X-Api-Key": APIKEY, } BASEURL = "https://api.northpass.com/v2/" -IMPORTFILE = "/Users/normrasmussen/Downloads/cisa-092024.csv" +IMPORTFILE = "/Users/normrasmussen/Downloads/cisa-092624.csv" def bulk_invite_and_group():