diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index f65dc7fc..18c33f41 100644 Binary files a/Custom_Templates/customer_templates/.DS_Store and b/Custom_Templates/customer_templates/.DS_Store differ diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/.DS_Store b/Custom_Templates/customer_templates/Northpass Academy/.DS_Store similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/.DS_Store rename to Custom_Templates/customer_templates/Northpass Academy/.DS_Store diff --git a/Custom_Templates/customer_templates/Northpass Academy/_cards_course.html.liquid b/Custom_Templates/customer_templates/Northpass Academy/_cards_course.html.liquid index 275625ef..2cd912c2 100644 --- a/Custom_Templates/customer_templates/Northpass Academy/_cards_course.html.liquid +++ b/Custom_Templates/customer_templates/Northpass Academy/_cards_course.html.liquid @@ -21,6 +21,7 @@ > +
{% include "course_details_review" %}
Norm Rasmussen
- norm@northpass.com + nrasmussen@northpass.com
Enterprise Customer Success Manager
@@ -45,23 +45,12 @@
Brian Bastante
- support@northpass.com -
Technical Support Specialist
-
- - - + - - \ No newline at end of file diff --git a/Custom_Templates/customer_templates/Northpass Academy/_header.html.liquid b/Custom_Templates/customer_templates/Northpass Academy/_header.html.liquid index 76642cd7..b783ae13 100644 --- a/Custom_Templates/customer_templates/Northpass Academy/_header.html.liquid +++ b/Custom_Templates/customer_templates/Northpass Academy/_header.html.liquid @@ -1,3 +1,77 @@ +{% include "spanish_lang" %} + +
@@ -55,13 +129,14 @@ {% if current_person.signed_in? %} {% if current_person.properties.language_test == true %} +
+ {% include "spanish_lang" %} {% endif %} {% endif %} @@ -209,7 +284,6 @@ */ - {% else %} {% include "header" %} - +
{% assign banner_title = 'Academy Courses @@ -23,13 +23,13 @@ {% assign banner_image_url = "https://s3.amazonaws.com/static.northpass.com/pipedrive/homepage-card-academy-courses.webp" %} {% assign banner_image_alt = "Man watching at a Pipedrive sales academy course on the laptop" %} {% include "green_banner_image" %} - + {% include "catalog_courses" %} {% include "catalog_page_info" %} {% include "opinions" %} {% include 'catalog_faq' %} - - {% assign banner_title = 'How to get most out of Pipedrive? + + {% assign banner_title = 'How to get the most out of Pipedrive? @@ -49,7 +49,7 @@ {% assign banner_image_alt = "Learn Pipedrive - CRM pipeline on the laptop" %} {% include "green_banner_image_alt" %}
- + {% include "footer" %} {% endif %} {% if current_person.signed_in? == false and current_school.sso_active? %} diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/course.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/course.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/course.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/course.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/courses.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/courses.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/courses.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/courses.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/dashboard.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/dashboard.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/dashboard.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/dashboard.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-new-registered.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-new-registered.html.liquid similarity index 95% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-new-registered.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-new-registered.html.liquid index ffdb1c24..6a9f5409 100644 --- a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-new-registered.html.liquid +++ b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-new-registered.html.liquid @@ -7,8 +7,8 @@ {% include "homepage_page_info" %} {% include "opinions" %} {% include 'homepage_faq' %} - - {% assign banner_title = 'How to get most out of Pipedrive? + + {% assign banner_title = 'How to get the most out of Pipedrive? diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-not-registered.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-not-registered.html.liquid similarity index 96% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-not-registered.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-not-registered.html.liquid index 74f1b07f..05678d00 100644 --- a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-not-registered.html.liquid +++ b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-not-registered.html.liquid @@ -18,13 +18,13 @@ ' %} {% assign banner_button_link = "#sso-widget" %} {% include "green_banner_text" %} - + {% include "homepage_generic_cards" %} {% include "homepage_page_info" %} {% include "opinions" %} {% include 'homepage_faq' %} - - {% assign banner_title = 'How to get most out of Pipedrive? + + {% assign banner_title = 'How to get the most out of Pipedrive? diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-regular-registered.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-regular-registered.html.liquid similarity index 95% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-regular-registered.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-regular-registered.html.liquid index f1d3d092..24443751 100644 --- a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage-test-regular-registered.html.liquid +++ b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage-test-regular-registered.html.liquid @@ -3,8 +3,8 @@
{% include 'homepage_banner' %} {% include 'homepage_latest_courses' %} - - {% assign banner_title = 'How to get most out of Pipedrive? + + {% assign banner_title = 'How to get the most out of Pipedrive? diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage.html.liquid similarity index 97% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage.html.liquid index f7c4dfbe..2dd076e1 100644 --- a/Custom_Templates/customer_templates/Pipedrive Learn - Public/homepage.html.liquid +++ b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/homepage.html.liquid @@ -2,7 +2,7 @@ {% else %} {% include "header" %} - +
{% if current_person.signed_in? %} {% assign new_person = true %} @@ -22,7 +22,7 @@ {% else %} {% include 'homepage_banner' %} {% include 'homepage_latest_courses' %} - + {% endif %} {% else %} {% assign banner_title = 'Pipedrive Learn @@ -42,14 +42,14 @@ ' %} {% assign banner_button_link = "#sso-widget" %} {% include "green_banner_text" %} - + {% include "homepage_generic_cards" %} {% include "homepage_page_info" %} {% include "opinions" %} {% include 'homepage_faq' %} {% endif %} - - {% assign banner_title = 'How to get most out of Pipedrive? + + {% assign banner_title = 'How to get the most out of Pipedrive? @@ -69,7 +69,7 @@ {% assign banner_image_alt = "Learn Pipedrive - CRM pipeline on the laptop" %} {% include "green_banner_image_alt" %}
- + {% include "footer" %} {% endif %} diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/learning_paths.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/learning_paths.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/learning_paths.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/learning_paths.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/login.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/login.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/login.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/login.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/logout.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/logout.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/logout.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/logout.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/not_found.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/not_found.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/not_found.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/not_found.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/profile-settings.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/profile-settings.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/profile-settings.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/profile-settings.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/sign_up.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/sign_up.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/sign_up.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/sign_up.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/styles.css.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/styles.css.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/styles.css.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/styles.css.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/training_events.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/training_events.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/training_events.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/training_events.html.liquid diff --git a/Custom_Templates/customer_templates/Pipedrive Learn - Public/video-tutorials.html.liquid b/Custom_Templates/customer_templates/Pipedrive Learn - CRM/video-tutorials.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/Pipedrive Learn - Public/video-tutorials.html.liquid rename to Custom_Templates/customer_templates/Pipedrive Learn - CRM/video-tutorials.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_course_filter.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_course_filter.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_course_filter.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_course_filter.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_footer.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_footer.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_footer.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_footer.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_green_banner_image.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_green_banner_image.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_green_banner_image.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_green_banner_image.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_green_banner_text.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_green_banner_text.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_green_banner_text.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_green_banner_text.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_head.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_head.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_head.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_head.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_header.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_header.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_header.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_header.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_homepage_courses.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_homepage_courses.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_homepage_courses.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_homepage_courses.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/_sub_navigation.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_sub_navigation.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/_sub_navigation.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/_sub_navigation.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/homepage.html.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/homepage.html.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/homepage.html.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/homepage.html.liquid diff --git a/Custom_Templates/customer_templates/PipedriveSSO/styles.css.liquid b/Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/styles.css.liquid similarity index 100% rename from Custom_Templates/customer_templates/PipedriveSSO/styles.css.liquid rename to Custom_Templates/customer_templates/Pipedrive User-Learn - Prereg/styles.css.liquid diff --git a/CustomerNotes/Pipedrive.md b/CustomerNotes/Pipedrive.md index c315e43a..bcda339b 100644 --- a/CustomerNotes/Pipedrive.md +++ b/CustomerNotes/Pipedrive.md @@ -227,3 +227,8 @@ Search results - can't click enough Northpass Only the title can be clicked when search results are returned. We need to be able to click the icon or description as well Not a problem - will get this started ASAP DONE: Directly ask Chloe about the technical complications. + +## 06/13/2023 + +TODO: Push lang changes from Internal Sandbox to Main sandbox for James' testing. + diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js index 1c514f2d..13ecc44e 100644 --- a/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA1/PSA1-Get-Assignments.js @@ -23,7 +23,7 @@ var assign_uid = "c6e05c41-082e-4027-9e2e-49d3c5a7c5a0" let page = 1; function getAssignment() { - var sheet = SpreadsheetApp.getActiveSheet(); + clearPrevData() for (let page = 1; page <= 50; page++) { var api_url = 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; @@ -71,11 +71,17 @@ function getAssignment() { } } - //page++; - //getAssignment(page); }; +function clearPrevData() { + var range = SpreadsheetApp + .getActiveSheet() + .getRange(2,1,100,15); + range.clearContent() +} + function addToSheet(rowArray){ + Logger.log("Adding to sheet function") var sheet = SpreadsheetApp.getActiveSheet(); var lastRow = Math.max(sheet.getLastRow(),1); @@ -84,4 +90,4 @@ function addToSheet(rowArray){ sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); -} \ No newline at end of file +} diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js index ec458ecd..8ebd26d7 100644 --- a/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA2/PSA2-Get_Assignments.js @@ -23,7 +23,7 @@ var assign_uid = "17c5917a-2ee6-4d9f-af89-5831282fc64b" let page = 1; function getAssignment() { - var sheet = SpreadsheetApp.getActiveSheet(); + clearPrevData() for (let page = 1; page <= 50; page++) { var api_url = 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; @@ -67,11 +67,18 @@ function getAssignment() { addToSheet(rowArray); }; } else { - + } } }; +function clearPrevData() { + var range = SpreadsheetApp + .getActiveSheet() + .getRange(2,1,100,15); + range.clearContent() +} + function addToSheet(rowArray){ var sheet = SpreadsheetApp.getActiveSheet(); var lastRow = Math.max(sheet.getLastRow(),1); @@ -81,4 +88,4 @@ function addToSheet(rowArray){ sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); -} \ No newline at end of file +} diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json index 66c1beac..b1eff4b0 100644 --- a/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/.clasp.json @@ -1 +1 @@ -{"scriptId":"1W9jVjAVjIivO2sj1flvoofftiZ4v0BgAMD_RPBsSTGZBcedPN_DUEW7m","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/WildHealth_Assignments_PSA3"} +{"scriptId":"1d5KE9m40T5mUNH80zmbiVpjP9eQIu23WX2syWZfBRcqPBPEmFjp27fvd","rootDir":"/Users/normrasmussen/Documents/Work/Scripts/GoogleScripts/WildHealth_Assignments_PSA3"} diff --git a/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js index 0e5766cc..2d1da937 100644 --- a/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js +++ b/Scripts/GoogleScripts/WildHealth_Assignments_PSA3/PSA3-Get_Assignments.js @@ -17,13 +17,13 @@ Assignment: a4e082a2-9416-4fdf-9ef6-a817e25d26ee API Key: HWxj6VTNPwbc3WghFTPzr7SjE */ -const sheet = SpreadsheetApp.getActiveSheet(); +// const sheet = SpreadsheetApp.getActiveSheet(); const apiKey = "HWxj6VTNPwbc3WghFTPzr7SjE"; var assign_uid = "a4e082a2-9416-4fdf-9ef6-a817e25d26ee" let page = 1; function getAssignment() { - var sheet = SpreadsheetApp.getActiveSheet(); + clearPrevData() for (let page = 1; page <= 50; page++) { var api_url = 'https://api.northpass.com/v2/assignments/'+assign_uid+'/submissions?page='+page; @@ -46,6 +46,7 @@ function getAssignment() { for (item of data) { var submit_date = item["attributes"]["created_at"]; var person = item["relationships"]["person"]["data"]["id"]; + Logger.log(person) var download_link = item["links"]["download"]; var person_url = 'https://api.northpass.com/v2/people/'+person; const settings = { @@ -67,12 +68,20 @@ function getAssignment() { addToSheet(rowArray); }; } else { - + } } }; +function clearPrevData() { + var range = SpreadsheetApp + .getActiveSheet() + .getRange(2,1,100,15); + range.clearContent() +} + function addToSheet(rowArray){ + Logger.log("Adding to sheet function") var sheet = SpreadsheetApp.getActiveSheet(); var lastRow = Math.max(sheet.getLastRow(),1); @@ -81,4 +90,4 @@ function addToSheet(rowArray){ sheet.getRange(lastRow + 1, 2).setValue(rowArray[3]); sheet.getRange(lastRow + 1, 3).setValue(rowArray[4]); sheet.getRange(lastRow + 1, 4).setValue(rowArray[1]); -} \ No newline at end of file +}