From 1d8a2e6f2b9c226c533c6108e1d31c04cd084c63 Mon Sep 17 00:00:00 2001 From: Norm Rasmussen Date: Fri, 8 Dec 2023 17:20:26 -0500 Subject: [PATCH] Talkspace no access templates uploaded. CIN7 api key added and new send grid request. --- .../Talkspace/auth_url_email.html.liquid | 17 ++-- .../Talkspace/login.html.liquid | 79 ++++++++++-------- .../Talkspace_1099/auth_url_email.html.liquid | 60 +++++++++++++ .../Talkspace_NPP/auth_url_email.html.liquid | 17 ++-- Scripts/API_Tests/Apikeys.py | 1 + .../__pycache__/Apikeys.cpython-311.pyc | Bin 1195 -> 1239 bytes Scripts/send-grid-request.py | 6 +- tmp.css | 3 + tmp.md | 3 + 9 files changed, 131 insertions(+), 55 deletions(-) create mode 100644 Custom_Templates/customer_templates/Talkspace_1099/auth_url_email.html.liquid create mode 100644 tmp.css create mode 100644 tmp.md diff --git a/Custom_Templates/customer_templates/Talkspace/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Talkspace/auth_url_email.html.liquid index a413959c..faaa8667 100644 --- a/Custom_Templates/customer_templates/Talkspace/auth_url_email.html.liquid +++ b/Custom_Templates/customer_templates/Talkspace/auth_url_email.html.liquid @@ -5,13 +5,14 @@
{% form_authenticity_token %}
- {% t shared.welcome_to_school, school_name: current_school.name %} + Talkspace Academy
-
- {% t .headline, key: current_school.course_vocabulary %} +
+ Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops Team here: http://peopleopshelp.talkspace.com/.
+ {% comment %}
-
@@ -32,7 +33,7 @@ type="text" name="last_name" id="learner_last_name" - value="{{ form.last_name }}" + value="{{ form.last_name | escape }}" />
@@ -44,7 +45,7 @@ type="text" name="email" id="learner_email" - value="{{ form.email }}" + value="{{ form.email | escape }}" />
+ />{% endcomment %}
diff --git a/Custom_Templates/customer_templates/Talkspace/login.html.liquid b/Custom_Templates/customer_templates/Talkspace/login.html.liquid index bde185dd..abe16537 100644 --- a/Custom_Templates/customer_templates/Talkspace/login.html.liquid +++ b/Custom_Templates/customer_templates/Talkspace/login.html.liquid @@ -1,52 +1,59 @@ -
+
{% include "header_minimal" %}
{% form_authenticity_token %} +
+ Talkspace-Northpass Academy +
+
+ Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops Team here: http://peopleopshelp.talkspace.com/. +
+ {% comment %} +
+ + +
+
+ + +
+ value="{{ form.email | escape }}" + />
-
- - -
- - - {% t .forgot_password %} - - {% if features.account_creation? %} - - {% t shared.sign_up %} - - {% endif %} - {% if features.request_access? %} - - {{ current_school.request_access_label }} - - {% endif %} + {% endcomment %}
diff --git a/Custom_Templates/customer_templates/Talkspace_1099/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Talkspace_1099/auth_url_email.html.liquid new file mode 100644 index 00000000..feb8bc39 --- /dev/null +++ b/Custom_Templates/customer_templates/Talkspace_1099/auth_url_email.html.liquid @@ -0,0 +1,60 @@ +
+
+ {% include "header_minimal" %} +
+
+ {% form_authenticity_token %} +
+ Talkspace-Northpass Academy +
+
+ Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or urgent needs please email training@talkspace.com. +
+ {% comment %} +
+ + +
+
+ + +
+
+ + +
+ {% endcomment %} +
+
+
+
diff --git a/Custom_Templates/customer_templates/Talkspace_NPP/auth_url_email.html.liquid b/Custom_Templates/customer_templates/Talkspace_NPP/auth_url_email.html.liquid index a413959c..11280530 100644 --- a/Custom_Templates/customer_templates/Talkspace_NPP/auth_url_email.html.liquid +++ b/Custom_Templates/customer_templates/Talkspace_NPP/auth_url_email.html.liquid @@ -5,13 +5,14 @@
{% form_authenticity_token %}
- {% t shared.welcome_to_school, school_name: current_school.name %} + Talkspace Academy
-
- {% t .headline, key: current_school.course_vocabulary %} +
+ Thanks for your interesting in Talkspace Education. This training link is no longer valid. If you have any questions or needs please reach out to the People Ops team at this link: http://providerpeopleopshelp.talkspace.com/.
+ {% comment %}
-
@@ -32,7 +33,7 @@ type="text" name="last_name" id="learner_last_name" - value="{{ form.last_name }}" + value="{{ form.last_name | escape }}" />
@@ -44,7 +45,7 @@ type="text" name="email" id="learner_email" - value="{{ form.email }}" + value="{{ form.email | escape }}" />
+ />{% endcomment %}
diff --git a/Scripts/API_Tests/Apikeys.py b/Scripts/API_Tests/Apikeys.py index 0cbf9609..481e374b 100644 --- a/Scripts/API_Tests/Apikeys.py +++ b/Scripts/API_Tests/Apikeys.py @@ -20,3 +20,4 @@ CHUBB = "m6ZEBesXzpWx2vmp11rEHxrMY" BIRCHSTREET = "WpMV3jF4q9Om5FjUsrzZifduE" G2 = "JRDpCGQ7vSRiva6t5OkWDr5eJ" DOUGLASELLIMAN = "Bknf8kidbluRfcKu3m3lKoxS8" +CIN7 = "51BNlRsLYKQxSu1q1UQq7F63j" diff --git a/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc b/Scripts/API_Tests/__pycache__/Apikeys.cpython-311.pyc index 2962c54ef0339a9ff60d728099058ba120c75e89..22f703dfcae7bd75f146dcd055807cee8d305b29 100644 GIT binary patch delta 131 zcmZ3@d7YDYIWI340}!xP6sNA3$ScX1G*LaCBT6hqESN!4d}EghliV#yQ$r`eoS0%?Fvd82N9pID7h;uVnZPGV7PqxVV0@CQBvX4R)ml77#4b2MPiJCDtN` delta 87 zcmcc4xtf!AIWI340}!Y_EJ$sg$ScVhH&H#FC73}|Y-67Z6SJSD*yaaJT#TG689sxQ k{c@Q6lUZl7I*UA)K9I`@#Kl#U16V3K8~7UdigbZ|0MYUk_W%F@ diff --git a/Scripts/send-grid-request.py b/Scripts/send-grid-request.py index b57bcfaf..b712764d 100644 --- a/Scripts/send-grid-request.py +++ b/Scripts/send-grid-request.py @@ -1,12 +1,12 @@ +import requests import sys sys.path.insert(0, "./API_Tests/") -import requests import Apikeys -apikey = Apikeys.G2 +apikey = Apikeys.CIN7 url = "https://api.northpass.com/v2/email_domains" header = { "x-api-key": apikey, "Content-Type": "application/json" } -payload = {"domain": "g2.com", "custom_dkim_selector": "n"} +payload = {"domain": "cin7.com", "custom_dkim_selector": "n"} response = requests.post(url, headers=header, json=payload) diff --git a/tmp.css b/tmp.css new file mode 100644 index 00000000..bde20983 --- /dev/null +++ b/tmp.css @@ -0,0 +1,3 @@ + +#282A36,#44475A,#F8F8F2,#6272A4,#8BE9FD,#50FA7B,#FFB86C,#FF79C6,#BD93F9,#FF5555 +#282A36,#44475A,#44475A,#8BE9FD,#6272A4,#FFFFFF,#50FA7B,#FF5555,#44475A,#F1FA8C diff --git a/tmp.md b/tmp.md new file mode 100644 index 00000000..bde20983 --- /dev/null +++ b/tmp.md @@ -0,0 +1,3 @@ + +#282A36,#44475A,#F8F8F2,#6272A4,#8BE9FD,#50FA7B,#FFB86C,#FF79C6,#BD93F9,#FF5555 +#282A36,#44475A,#44475A,#8BE9FD,#6272A4,#FFFFFF,#50FA7B,#FF5555,#44475A,#F1FA8C