From 5c8b9a7a3bb2101a92b319d103509f280f01d9e4 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Fri, 12 May 2023 16:45:50 -0400 Subject: [PATCH] small script changes and notes --- .../Crayon/onboarding.html.liquid | 30 ++ .../customer_templates/Zenjob/.DS_Store | Bin 0 -> 6148 bytes .../Zenjob/_cards_course.html.liquid | 31 +- .../Zenjob/_cards_learning_path.html.liquid | 68 +++ .../Zenjob/_course_cta_button.html.liquid | 19 +- .../Zenjob/_header.html (1) (1).liquid | 385 ----------------- .../Zenjob/_header.html (1).liquid | 385 ----------------- .../Zenjob/_header.html (2).liquid | 398 ------------------ .../Zenjob/_header.html.liquid | 10 +- .../Zenjob/_learning_path_course.html.liquid | 35 +- .../Zenjob/_learning_path_outline.html.liquid | 45 +- ...learning_path_training_session.html.liquid | 86 ++-- .../_training_session_details.html.liquid | 27 +- .../Zenjob/course.html.liquid | 8 + .../Zenjob/homepage.html (3).liquid | 354 ---------------- .../Zenjob/learning_path.html.liquid | 3 +- Scripts/API_Tests/get_courses.py | 6 +- .../Backup_Notes_Scripts/confluence_get.py | 81 ++-- .../GoogleScripts/Confluence_Test/.clasp.json | 1 + .../GoogleScripts/Confluence_Test/ConfGet.js | 18 + .../Confluence_Test/appsscript.json | 7 + .../Courtney_Confluence/.clasp.json | 1 + .../GoogleScripts/Courtney_Confluence/Adv.js | 40 ++ .../Courtney_Confluence/Confluence.js | 29 ++ .../Courtney_Confluence/appsscript.json | 7 + Scripts/credlib.py | 6 - Scripts/csvTest.js | 87 ++++ Scripts/drac_test.py | 65 --- Scripts/hubspotTicketSetup.js | 165 ++++++++ 29 files changed, 695 insertions(+), 1702 deletions(-) create mode 100644 Custom_Templates/customer_templates/Crayon/onboarding.html.liquid create mode 100644 Custom_Templates/customer_templates/Zenjob/.DS_Store create mode 100644 Custom_Templates/customer_templates/Zenjob/_cards_learning_path.html.liquid delete mode 100644 Custom_Templates/customer_templates/Zenjob/_header.html (1) (1).liquid delete mode 100644 Custom_Templates/customer_templates/Zenjob/_header.html (1).liquid delete mode 100644 Custom_Templates/customer_templates/Zenjob/_header.html (2).liquid delete mode 100644 Custom_Templates/customer_templates/Zenjob/homepage.html (3).liquid create mode 100644 Scripts/GoogleScripts/Confluence_Test/.clasp.json create mode 100644 Scripts/GoogleScripts/Confluence_Test/ConfGet.js create mode 100644 Scripts/GoogleScripts/Confluence_Test/appsscript.json create mode 100644 Scripts/GoogleScripts/Courtney_Confluence/.clasp.json create mode 100644 Scripts/GoogleScripts/Courtney_Confluence/Adv.js create mode 100644 Scripts/GoogleScripts/Courtney_Confluence/Confluence.js create mode 100644 Scripts/GoogleScripts/Courtney_Confluence/appsscript.json delete mode 100644 Scripts/credlib.py create mode 100644 Scripts/csvTest.js delete mode 100644 Scripts/drac_test.py create mode 100644 Scripts/hubspotTicketSetup.js diff --git a/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid b/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid new file mode 100644 index 00000000..0c20f3ac --- /dev/null +++ b/Custom_Templates/customer_templates/Crayon/onboarding.html.liquid @@ -0,0 +1,30 @@ +{% include "header" %} +{% 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 %} +
+ {% 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" %} + +current_page: "/app/user-guides" \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Zenjob/.DS_Store b/Custom_Templates/customer_templates/Zenjob/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0
@@ -26,8 +27,8 @@ {% endif %}
diff --git a/Custom_Templates/customer_templates/Zenjob/_cards_learning_path.html.liquid b/Custom_Templates/customer_templates/Zenjob/_cards_learning_path.html.liquid new file mode 100644 index 00000000..e322d058 --- /dev/null +++ b/Custom_Templates/customer_templates/Zenjob/_cards_learning_path.html.liquid @@ -0,0 +1,68 @@ +
+
+
+
+ {{ learning_path.name }} +
+ + {{ learning_path.items.count }} Inhalte +
+
+ +
+ +
+

+ {{ learning_path.name }} +

+ + {% include "learning_path_description" %} + + {% if learning_path.has_instructors? %} +
+ {{ learning_path.instructor_names }} +
+ {% endif %} + +
+ + {{ learning_path.items.count }} Inhalte +
+ + +
+
+
+
+
+
+
+
+
diff --git a/Custom_Templates/customer_templates/Zenjob/_course_cta_button.html.liquid b/Custom_Templates/customer_templates/Zenjob/_course_cta_button.html.liquid index ee367268..5510972d 100644 --- a/Custom_Templates/customer_templates/Zenjob/_course_cta_button.html.liquid +++ b/Custom_Templates/customer_templates/Zenjob/_course_cta_button.html.liquid @@ -16,14 +16,19 @@ {% endif %} {% endunless %} > - {% 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 %} + {% assign course_ribbon = course.ribbon | downcase %} + {% if course_ribbon == "hochladen" %} + Hochladen {% else %} - {% t shared.continue %} + {% 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 %} {% endif %} \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Zenjob/_header.html (1) (1).liquid b/Custom_Templates/customer_templates/Zenjob/_header.html (1) (1).liquid deleted file mode 100644 index 405f9b56..00000000 --- a/Custom_Templates/customer_templates/Zenjob/_header.html (1) (1).liquid +++ /dev/null @@ -1,385 +0,0 @@ -{% assign is_in_authenticated_group = false %} - -{% for group in current_person.groups %} - {% if group.name == "All Users" or group.id == "6331d115-ea74-418a-99b2-af5c81208fe1" %} - {% assign is_in_authenticated_group = true %} - {% endif %} -{% endfor %} - -{% if current_person.email contains "+preview" %} - {% assign is_in_authenticated_group = true %} -{% endif %} - -{% unless is_in_authenticated_group %} - -{% endunless %} - -
-
-
- {% if current_person.signed_in? %} - - - {% endif %} -
- {% if current_school.logo_url %} -

- - {{ current_school.name }} - -

- {% else %} - - {{ current_school.name }} - - {% endif %} - -
- -
- - {% if current_person.signed_in? %} - -
- - -
- {% else %} -
- -{% include "messages" %} - - - - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Zenjob/_header.html (1).liquid b/Custom_Templates/customer_templates/Zenjob/_header.html (1).liquid deleted file mode 100644 index 405f9b56..00000000 --- a/Custom_Templates/customer_templates/Zenjob/_header.html (1).liquid +++ /dev/null @@ -1,385 +0,0 @@ -{% assign is_in_authenticated_group = false %} - -{% for group in current_person.groups %} - {% if group.name == "All Users" or group.id == "6331d115-ea74-418a-99b2-af5c81208fe1" %} - {% assign is_in_authenticated_group = true %} - {% endif %} -{% endfor %} - -{% if current_person.email contains "+preview" %} - {% assign is_in_authenticated_group = true %} -{% endif %} - -{% unless is_in_authenticated_group %} - -{% endunless %} - -
-
-
- {% if current_person.signed_in? %} - - - {% endif %} -
- {% if current_school.logo_url %} -

- - {{ current_school.name }} - -

- {% else %} - - {{ current_school.name }} - - {% endif %} - -
- -
- - {% if current_person.signed_in? %} - -
- - -
- {% else %} -
- -{% include "messages" %} - - - - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Zenjob/_header.html (2).liquid b/Custom_Templates/customer_templates/Zenjob/_header.html (2).liquid deleted file mode 100644 index c99aa4de..00000000 --- a/Custom_Templates/customer_templates/Zenjob/_header.html (2).liquid +++ /dev/null @@ -1,398 +0,0 @@ -{% assign is_in_authenticated_group = false %} - -{% for group in current_person.groups %} - {% if group.name == "All Users" or group.id == "6331d115-ea74-418a-99b2-af5c81208fe1" %} - {% assign is_in_authenticated_group = true %} - {% endif %} -{% endfor %} - -{% if current_person.email contains "+preview" %} - {% assign is_in_authenticated_group = true %} -{% endif %} - -{% unless is_in_authenticated_group %} - -{% endunless %} - -
-
-
- {% if current_person.signed_in? %} - - - {% endif %} -
- {% if current_school.logo_url %} -

- - {{ current_school.name }} - -

- {% else %} - - {{ current_school.name }} - - {% endif %} - -
- -
- - {% if current_person.signed_in? %} - -
- - -
- {% else %} -
- -{% include "messages" %} - - - - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Zenjob/_header.html.liquid b/Custom_Templates/customer_templates/Zenjob/_header.html.liquid index c99aa4de..e381cc2f 100644 --- a/Custom_Templates/customer_templates/Zenjob/_header.html.liquid +++ b/Custom_Templates/customer_templates/Zenjob/_header.html.liquid @@ -4,7 +4,7 @@ {% if group.name == "All Users" or group.id == "6331d115-ea74-418a-99b2-af5c81208fe1" %} {% assign is_in_authenticated_group = true %} {% endif %} -{% endfor %} +{% endfor %} {% if current_person.email contains "+preview" %} {% assign is_in_authenticated_group = true %} @@ -69,6 +69,10 @@
  • On-The-Job Videos
  • +
  • + + Veranstaltungen +
  • {% for website_navigation in navigations.header_navigations_external %}
  • Lernwege Auszeichnungen On-The-Job Videos + Veranstaltungen