Small Luminate templates.
This commit is contained in:
@ -170,6 +170,7 @@
|
||||
{% include "homepage_ongoing_training", items: catalog_courses %}
|
||||
|
||||
{% include "homepage_topics" %}
|
||||
{%- comment -%}
|
||||
<button
|
||||
type="button"
|
||||
class="popup-trigger"
|
||||
@ -190,6 +191,7 @@
|
||||
Click
|
||||
</button>
|
||||
</main>
|
||||
{%- endcomment -%}
|
||||
{% include "footer" %}
|
||||
|
||||
<div
|
||||
@ -200,6 +202,8 @@
|
||||
aria-describedby="dialogContent"
|
||||
aria-hidden="true">
|
||||
<section class="first-time-user-popup-container">
|
||||
<a href="javascript:setPopupSeenProperty('/app/dashboard')"
|
||||
class="secondary" data-toggle-trigger-off style="display: block; color:black; padding: 14px 0 0 15px"> <i class="fa fa-times"></i></a>
|
||||
<div id="dialogContent" class="first-time-user-popup-content">
|
||||
<div class="modal-headline">
|
||||
{% if current_person.first_name %}👋 Hi, {{ current_person.first_name }}!{% endif %}
|
||||
@ -231,6 +235,8 @@
|
||||
aria-describedby="dialogContent"
|
||||
aria-hidden="true">
|
||||
<section class="survey-popup-container">
|
||||
<a href="javascript:setPopupSeenProperty('/app/dashboard')"
|
||||
class="secondary" data-toggle-trigger-off style="display: block; color: black; padding: 14px 0 0 15px"> <i class="fa fa-times"></i></a>
|
||||
<div id="dialogContent" class="survey-popup-content">
|
||||
<div class="modal-headline">Help us improve your experience!</div>
|
||||
<div class="modal-links">
|
||||
@ -577,4 +583,4 @@
|
||||
line-height: 58px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -6,13 +6,13 @@ import pandas as pd
|
||||
import Apikeys
|
||||
|
||||
pp = pprint.PrettyPrinter(indent=4)
|
||||
APIKEY = Apikeys.SANDATA
|
||||
APIKEY = Apikeys.CHUBB
|
||||
HEADERS = {
|
||||
"accept": "application/json",
|
||||
"X-Api-Key": APIKEY,
|
||||
}
|
||||
BASEURL = "https://api.northpass.com/v2/"
|
||||
IMPORTFILE = "/Users/normrasmussen/Downloads/sandata-employees.csv"
|
||||
IMPORTFILE = "/Users/normrasmussen/Downloads/chubb.csv"
|
||||
|
||||
|
||||
def bulk_invite_and_group():
|
||||
@ -66,9 +66,9 @@ def add_props():
|
||||
df = pd.DataFrame()
|
||||
data = pd.read_csv(IMPORTFILE)
|
||||
for dat in data.iterrows():
|
||||
# agency_name = dat[1][3]
|
||||
agency_name = "EMPLOYEE"
|
||||
learner_email = dat[1][1]
|
||||
agency_name = dat[1][3]
|
||||
# agency_name = "EMPLOYEE"
|
||||
learner_email = dat[1][2]
|
||||
print(learner_email)
|
||||
ppl_search = f"{BASEURL}people?filter[email][eq]={learner_email}"
|
||||
ppl_response = requests.get(ppl_search, headers=HEADERS)
|
||||
@ -82,7 +82,7 @@ def add_props():
|
||||
payload = {
|
||||
"data": [
|
||||
{
|
||||
"attributes": {"properties": {"medicaid_id": agency_name }},
|
||||
"attributes": {"properties": {"agency_name": agency_name }},
|
||||
"id": learner_uuid,
|
||||
"type": "person_properties",
|
||||
}
|
||||
|
||||
4
Todos.md
4
Todos.md
@ -336,8 +336,8 @@ message](https://northpasshq.slack.com/archives/C04RER4PH09/p1709147957374999?th
|
||||
## 06-06-2024
|
||||
|
||||
- [ ] DataSnipper - People & Groups Report
|
||||
- [ ] Sandata - If someone selects Caregiver role, place them in the caregiver group according to their state
|
||||
- [ ] Sandata - Do not place a user in the Admin group if they select the state: Ohio.
|
||||
- [X] Sandata - If someone selects Caregiver role, place them in the caregiver group according to their state
|
||||
- [X] Sandata - Do not place a user in the Admin group if they select the state: Ohio.
|
||||
- [X] Walmart Luminate - Mass delete from file.
|
||||
- [X] Chubb - Add props to all users from file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user