diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_cards_course.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_cards_course.html.liquid new file mode 100644 index 00000000..ad5109ef --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_cards_course.html.liquid @@ -0,0 +1,73 @@ +{% assign activities_count = 0 %} +{% for course_section in course.sections %} + {% for course_activity in course_section.activities %} + {% assign activities_count = activities_count | plus: 1 %} + {% endfor %} +{% endfor %} +{% capture course_path %}{% route course, id: course.id %}{% endcapture %} +
+
+ + {{ course.name }} + +
+ + {{ course.name }} + +
+ {{ course.full_description }} +
+
+ {{ activities_count }} {% if activities_count == 1 %}Lesson{% else %}Lessons{% endif %} +
+
+
+
+ + diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_course_desktop_view.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_course_desktop_view.html.liquid new file mode 100644 index 00000000..b1959b33 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_course_desktop_view.html.liquid @@ -0,0 +1,127 @@ +
+
+ {{ course.name }} +
+
+ {{ course.name }} +
+
+ Learn the basics of profile value, how to customize your profile to catch the eyes of more buyers, and demand capture 101. +
+
+ {% include "course_progress_and_cta" %} +
+
+
+
+
+
+ Curriculum +
+
+ {% for section in course.sections %} +
+ {{ section.name }} +
+ {% for activity in section.activities %} +
+ {{ activity.title }} +
+ {% endfor %} + {% endfor %} +
+
+
+
+ About this course +
+
+ {{ course.full_description }} +
+
+
+
+ + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_course_progress_and_cta.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_course_progress_and_cta.html.liquid new file mode 100644 index 00000000..127aa70d --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_course_progress_and_cta.html.liquid @@ -0,0 +1,38 @@ +{% if course.learner_can_retake? %} +
+ {% form_authenticity_token %} + +
+{% else %} + + {% if course.enrolled? == false %} + {% t shared.enroll %} + {% elsif course.started? == false %} + {% t shared.course.start, key: current_school.course_vocabulary %} + {% elsif course.completed? %} + {% t shared.course.view, key: current_school.course_vocabulary %} + {% else %} + {% t shared.continue %} + {% endif %} + +{% endif %} + \ No newline at end of file diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_courses_catalog.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_courses_catalog.html.liquid new file mode 100644 index 00000000..2b012754 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_courses_catalog.html.liquid @@ -0,0 +1,26 @@ +{% if courses.in_catalog.any? %} +
+ {% for course in courses.in_catalog %} +
+ {% include "cards_course" with course %} +
+ {% endfor %} +
+{% else %} + {% capture message %} + {% t shared.zero_state.courses.catalog, + 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/Quadriga/_footer.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_footer.html.liquid new file mode 100644 index 00000000..f07a53ff --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_footer.html.liquid @@ -0,0 +1,178 @@ + + + diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_head.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_head.html.liquid new file mode 100644 index 00000000..9ce75ccc --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_head.html.liquid @@ -0,0 +1,13 @@ +{% styles default %} +{% styles colors %} +{% styles custom %} + + + + diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_header.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_header.html.liquid new file mode 100644 index 00000000..ff2cf8d8 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_header.html.liquid @@ -0,0 +1,289 @@ +
+
+
+ {% if current_person.signed_in? %} + + + {% endif %} +
+ {% if current_school.logo_url %} +

+ + {{ current_school.name }} + +

+ {% else %} + + {{ current_school.name }} + + {% endif %} + +
+
    +
  • + Themengebiete + + +
  • +
  • + Weiterbildungsangebote + + +
  • +
  • + Über uns + + +
  • +
  • + Newsletter +
  • +
+
+ {% if current_person.signed_in? %} + +
+ + +
+ {% else %} +
+ {% endif %} + +
+ +
+
+
+
+ +{% include "messages" %} + diff --git a/NP_Custom_Templates/customer_templates/Quadriga/_homepage_events.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/_homepage_events.html.liquid new file mode 100644 index 00000000..dffbe286 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/_homepage_events.html.liquid @@ -0,0 +1,182 @@ +
+
+
+
+ Online-Seminare unter der Leitung von Change Making-Rednern +
+
+ Kommende Seminare, die Ihre Führungsqualitäten und Kommunikation in den Mittelpunkt stellen +
+
+
+
+
+ Grundlagen der Internen Kommunikation +
+
+ Strukturen, Konzepte und Prozesse für gelungene Mitarbeiterkommunikation +
+
+ 23. - 24.03.2022 +
+ +
+
+
+ Hosts +
+
+ +
+
+ Amory Fanelsa +
+
+ Inhaberin, FanelsaPR +
+
+
+
+
+ +
+
+
+ Positionspapiere schreiben +
+
+ Mit Politikthemen überzeugen – für mehr Aufmerksamkeit, Wirkung und Einfluss +
+
+ 30. - 31.03.2022 +
+ +
+
+
+ Host +
+
+ +
+
+ Mechthild Bülow +
+
+ Inhaberin, Mechthild Bülow Public Affairs +
+
+
+
+
+
+
+ + diff --git a/NP_Custom_Templates/customer_templates/Quadriga/homepage.html.liquid b/NP_Custom_Templates/customer_templates/Quadriga/homepage.html.liquid new file mode 100644 index 00000000..7cbbada8 --- /dev/null +++ b/NP_Custom_Templates/customer_templates/Quadriga/homepage.html.liquid @@ -0,0 +1,94 @@ +{% include "header" %} +{% include "course_version_outdated_alert", courses: courses.featured %} +
+
+ {{ homepage.headline }} +
+ +
+ {{ homepage.headline }} +
+
+ {{ homepage.subheadline }} +
+
+ +
+
+ {% include 'courses_catalog' %} + {% include 'homepage_events' %} +
+{% include "footer" %} + + + +