diff --git a/NP_Custom_Templates/customer_templates/.DS_Store b/NP_Custom_Templates/customer_templates/.DS_Store index 82d7edf1..4fa3a999 100644 Binary files a/NP_Custom_Templates/customer_templates/.DS_Store and b/NP_Custom_Templates/customer_templates/.DS_Store differ diff --git a/NP_Custom_Templates/customer_templates/Medisoft/_cards_course.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/_cards_course.html.liquid new file mode 100644 index 00000000..5402ed64 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/_cards_course.html.liquid @@ -0,0 +1,34 @@ +
+
+ {% if course.ribbon %} +
+ {{ course.ribbon }} +
+ {% endif %} + {{ course.name }} +
+

+ {{ course.name }} +

+
+ {{ course.instructor_names }} +
+ +
+
+
diff --git a/NP_Custom_Templates/customer_templates/Medisoft/_guides_index.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/_guides_index.html.liquid new file mode 100644 index 00000000..88a93a27 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/_guides_index.html.liquid @@ -0,0 +1,20 @@ +{% if courses.enrolled.any? %} +
+ {% for course in courses.enrolled %} + {% for category in course.categories %} + {% if category.name == 'User Guides' %} +
+ {% include "cards_course" with course %} + {% endif %} + {% endfor %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.index, + key: current_school.course_vocabulary + %} + {% endcapture %} + {% include "courses_zero_state", message: message %} +{% endif %} \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Medisoft/_sub_navigation.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/_sub_navigation.html.liquid new file mode 100644 index 00000000..114820fe --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/_sub_navigation.html.liquid @@ -0,0 +1,11 @@ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Medisoft/_sub_navigation_item.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/_sub_navigation_item.html.liquid new file mode 100644 index 00000000..7f9da895 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/_sub_navigation_item.html.liquid @@ -0,0 +1,15 @@ +
+ + +
+ {{ label }} +
+
+
+
\ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Medisoft/catalog.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/catalog.html.liquid new file mode 100644 index 00000000..9b114af7 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/catalog.html.liquid @@ -0,0 +1,23 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} +{% include "sub_navigation", current_page: "/app/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" %} diff --git a/NP_Custom_Templates/customer_templates/Medisoft/dashboard.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/dashboard.html.liquid new file mode 100644 index 00000000..371b96c6 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/dashboard.html.liquid @@ -0,0 +1,28 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} +{% include "sub_navigation", current_page: "/app/dashboard" %} +
+
+
+ {% if features.learning_paths? %} +
+ {% t shared.learning_paths %} +
+ {% include "learning_paths_index", items: learning_paths.enrolled %} + {% endif %} +
+ {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} +
+ {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ {% if features.training_events? %} +
+
+ {% t .upcoming_events %} +
+ {% include "training_events_dashboard" %} +
+ {% endif %} +
+
+{% include "footer" %} \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Medisoft/homepage.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/homepage.html.liquid new file mode 100644 index 00000000..547510d4 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/homepage.html.liquid @@ -0,0 +1,52 @@ +{% include "header" current_page_orgin: "false" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+ + {% t .discover %} + +
+
+ {% include "sub_navigation", current_page: "/app" %} + +
+{% include "footer" %} diff --git a/NP_Custom_Templates/customer_templates/Medisoft/learning_paths.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/learning_paths.html.liquid new file mode 100644 index 00000000..6142d64a --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/learning_paths.html.liquid @@ -0,0 +1,14 @@ +{% include "header" %} +{% include "sub_navigation", current_page: "/app/learning_paths" %} +
+
+
+ {% t shared.learning_paths %} +
+
+ {% t .subtitle %} +
+ {% include "learning_paths_index", items: learning_paths.available %} +
+
+{% include "footer" %} diff --git a/NP_Custom_Templates/customer_templates/Medisoft/training_events.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/training_events.html.liquid new file mode 100644 index 00000000..68c108c0 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/training_events.html.liquid @@ -0,0 +1,19 @@ +{% include "header" %} +{% include "sub_navigation", current_page: "/app/training_events" %} +
+
+
+
+ {% t .title %} +
+
+ {% t .subtitle %} +
+
+
+ {% include "training_events_filter" %} +
+
+ {% include "training_events_index" %} +
+{% include "footer" %} diff --git a/NP_Custom_Templates/customer_templates/Medisoft/user-guides.html.liquid b/NP_Custom_Templates/customer_templates/Medisoft/user-guides.html.liquid new file mode 100644 index 00000000..b1867dfd --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Medisoft/user-guides.html.liquid @@ -0,0 +1,12 @@ +{% include "header" %} +{% include "sub_navigation", current_page: "/app/user-guides" %} +
+
+
+ User Guides & Resources +
+ {% include "guides_index", class: "col-xs-12 col-sm-6 np-stretch-content" %} +
+ +
+{% include "footer" %} diff --git a/NP_Custom_Templates/templates/.DS_Store b/NP_Custom_Templates/templates/.DS_Store new file mode 100644 index 00000000..5789844e Binary files /dev/null and b/NP_Custom_Templates/templates/.DS_Store differ diff --git a/NP_Custom_Templates/templates/_account_form.html.liquid b/NP_Custom_Templates/templates/_account_form.html.liquid index bd77bb79..88de8c77 100644 --- a/NP_Custom_Templates/templates/_account_form.html.liquid +++ b/NP_Custom_Templates/templates/_account_form.html.liquid @@ -46,22 +46,35 @@ value="{{ form.display_name }}" /> -
- - -
{% unless form.options.invite? %} +
+ + +
+ +
+ + +
+
+
+ + +
+
{% t shared.progress, count: course.progress %}
- + {% capture course_path %}{% route course, id: course.id %}{% endcapture %} + {% if course.has_to_restart? %} + {% include "course_version_outdated_popup", path: course_path %} + {% endif %} + {% t shared.view %}
diff --git a/NP_Custom_Templates/templates/_cards_learning_path.html.liquid b/NP_Custom_Templates/templates/_cards_learning_path.html.liquid index c2662e8f..424a81ab 100644 --- a/NP_Custom_Templates/templates/_cards_learning_path.html.liquid +++ b/NP_Custom_Templates/templates/_cards_learning_path.html.liquid @@ -8,15 +8,15 @@ />
- +
{% t shared.learning_path.title %}
- Total Courses: {{ learning_path_course.items.count }} + {{ learning_path.items.count }} {% t .items %}
{% t shared.learning_path.title %}
- +
@@ -53,9 +53,9 @@ {% t shared.view %} - + - Total Courses: {{ learning_path_course.items.count }} + {{ learning_path.items.count }} {% t .items %}
diff --git a/NP_Custom_Templates/templates/_course_header.html.liquid b/NP_Custom_Templates/templates/_course_header.html.liquid index 166e0942..84820ec4 100644 --- a/NP_Custom_Templates/templates/_course_header.html.liquid +++ b/NP_Custom_Templates/templates/_course_header.html.liquid @@ -1,6 +1,6 @@
{{ current_school.course_vocabulary }} - +
diff --git a/NP_Custom_Templates/templates/_course_outline.html.liquid b/NP_Custom_Templates/templates/_course_outline.html.liquid index 22551875..72f97e79 100644 --- a/NP_Custom_Templates/templates/_course_outline.html.liquid +++ b/NP_Custom_Templates/templates/_course_outline.html.liquid @@ -1,6 +1,6 @@
- Content + {% t .header, key: current_school.course_vocabulary %}
    diff --git a/NP_Custom_Templates/templates/_course_version_outdated_alert.html.liquid b/NP_Custom_Templates/templates/_course_version_outdated_alert.html.liquid new file mode 100644 index 00000000..03e245ab --- /dev/null +++ b/NP_Custom_Templates/templates/_course_version_outdated_alert.html.liquid @@ -0,0 +1,7 @@ +{% if courses.include_courses_to_restart? %} + +{% endif %} diff --git a/NP_Custom_Templates/templates/_course_version_outdated_popup.html.liquid b/NP_Custom_Templates/templates/_course_version_outdated_popup.html.liquid new file mode 100644 index 00000000..71795884 --- /dev/null +++ b/NP_Custom_Templates/templates/_course_version_outdated_popup.html.liquid @@ -0,0 +1,33 @@ +
    +
    + + +
    +
    diff --git a/NP_Custom_Templates/templates/_header.html.liquid b/NP_Custom_Templates/templates/_header.html.liquid index 5c035d26..b52b628a 100644 --- a/NP_Custom_Templates/templates/_header.html.liquid +++ b/NP_Custom_Templates/templates/_header.html.liquid @@ -112,6 +112,7 @@ {% else %} diff --git a/NP_Custom_Templates/templates/_training_session_calendars.html.liquid b/NP_Custom_Templates/templates/_training_session_calendars.html.liquid new file mode 100644 index 00000000..6c758b73 --- /dev/null +++ b/NP_Custom_Templates/templates/_training_session_calendars.html.liquid @@ -0,0 +1,52 @@ + diff --git a/NP_Custom_Templates/templates/_training_session_cta.html.liquid b/NP_Custom_Templates/templates/_training_session_cta.html.liquid index e411a9f5..d777c5f6 100644 --- a/NP_Custom_Templates/templates/_training_session_cta.html.liquid +++ b/NP_Custom_Templates/templates/_training_session_cta.html.liquid @@ -30,12 +30,7 @@ {% if training_session.internal? and training_session.approved? %} {% if features.training_events_google_calendar? %} - - {% t .add_to_calendar %} - + {% include "training_session_calendars" %} diff --git a/NP_Custom_Templates/templates/_training_session_desktop_view.html.liquid b/NP_Custom_Templates/templates/_training_session_desktop_view.html.liquid index 2eb50249..5c1abfec 100644 --- a/NP_Custom_Templates/templates/_training_session_desktop_view.html.liquid +++ b/NP_Custom_Templates/templates/_training_session_desktop_view.html.liquid @@ -2,7 +2,7 @@ {% include "training_session_header" %}
-
+
@@ -19,7 +19,7 @@
-
+
{% t shared.more_sessions %}
diff --git a/NP_Custom_Templates/templates/_training_session_mobile_view.html.liquid b/NP_Custom_Templates/templates/_training_session_mobile_view.html.liquid index 4c0cfebe..00455d4e 100644 --- a/NP_Custom_Templates/templates/_training_session_mobile_view.html.liquid +++ b/NP_Custom_Templates/templates/_training_session_mobile_view.html.liquid @@ -1,4 +1,4 @@ -
+
{% include "training_session_header" %}
diff --git a/NP_Custom_Templates/templates/catalog.html.liquid b/NP_Custom_Templates/templates/catalog.html.liquid index bf251686..d7b380b8 100644 --- a/NP_Custom_Templates/templates/catalog.html.liquid +++ b/NP_Custom_Templates/templates/catalog.html.liquid @@ -1,5 +1,5 @@ - {% include "header" %} +{% include "course_version_outdated_alert", courses: courses.in_catalog %} {% include "sub_navigation" %}
diff --git a/NP_Custom_Templates/templates/courses.html.liquid b/NP_Custom_Templates/templates/courses.html.liquid index 9dc24317..ef34b59a 100644 --- a/NP_Custom_Templates/templates/courses.html.liquid +++ b/NP_Custom_Templates/templates/courses.html.liquid @@ -1,4 +1,5 @@ {% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} {% include "sub_navigation" %}
diff --git a/NP_Custom_Templates/templates/dashboard.html.liquid b/NP_Custom_Templates/templates/dashboard.html.liquid index 0ddaf05b..f5c8e7df 100644 --- a/NP_Custom_Templates/templates/dashboard.html.liquid +++ b/NP_Custom_Templates/templates/dashboard.html.liquid @@ -1,4 +1,5 @@ {% include "header" %} +{% include "course_version_outdated_alert", courses: courses.enrolled %} {% include "sub_navigation" %}
diff --git a/NP_Custom_Templates/templates/homepage.html.liquid b/NP_Custom_Templates/templates/homepage.html.liquid index 0423c0aa..77559cc9 100644 --- a/NP_Custom_Templates/templates/homepage.html.liquid +++ b/NP_Custom_Templates/templates/homepage.html.liquid @@ -1,4 +1,5 @@ {% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %}
-{% include "group_styles" %} {% include "footer" %} diff --git a/NP_Custom_Templates/templates/not_found.html.liquid b/NP_Custom_Templates/templates/not_found.html.liquid new file mode 100644 index 00000000..91c76e4b --- /dev/null +++ b/NP_Custom_Templates/templates/not_found.html.liquid @@ -0,0 +1,10 @@ +
+ + +
diff --git a/NP_Custom_Templates/templates/styles.css.liquid b/NP_Custom_Templates/templates/styles.css.liquid index c2606d05..7386f452 100644 --- a/NP_Custom_Templates/templates/styles.css.liquid +++ b/NP_Custom_Templates/templates/styles.css.liquid @@ -9,4 +9,3 @@ {{ color_palette.header_font_hover_color }} {{ color_palette.header_color }} */ - diff --git a/NP_Custom_Templates/templates/training_session_attendance.html.liquid b/NP_Custom_Templates/templates/training_session_attendance.html.liquid new file mode 100644 index 00000000..71bb6119 --- /dev/null +++ b/NP_Custom_Templates/templates/training_session_attendance.html.liquid @@ -0,0 +1,43 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {{ training_session.title }} +
+
+ {% t .info, + event_name: training_session.title, + session_date: training_session.date, + session_time: training_session.time + %} +
+
+ {% t .question %} +
+
+ {% form_authenticity_token %} + + + +
+
+ {% t .salutation %} +
+
+ {{ current_school.name }} +
+ {% else %} + +
+ {% t .success.response_text %} +
+ +
+{% include "footer" %} diff --git a/NP_Custom_Templates/templates/unsubscribe.html.liquid b/NP_Custom_Templates/templates/unsubscribe.html.liquid new file mode 100644 index 00000000..69a54028 --- /dev/null +++ b/NP_Custom_Templates/templates/unsubscribe.html.liquid @@ -0,0 +1,30 @@ +{% include "header" %} +
+
+ {% if token %} + +
+ {% t .unsubscribe_text %} +
+
+ {% t .resubscribe_text %} +
+
+ {% form_authenticity_token %} + + +
+ {% else %} + +
+ {% t .resubscribed_text %} +
+ {% endif %} +
+
+{% include "footer" %}