diff --git a/Custom_Templates/customer_templates/.DS_Store b/Custom_Templates/customer_templates/.DS_Store index 9268ffb4..5eb57d3b 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/Front/_cards_course.html.liquid b/Custom_Templates/customer_templates/Front/_cards_course.html.liquid new file mode 100644 index 00000000..0e02eb47 --- /dev/null +++ b/Custom_Templates/customer_templates/Front/_cards_course.html.liquid @@ -0,0 +1,48 @@ +
+ Hi {{current_person.first_name}}! 👋 {% if current_person.groups.size > 0 %} {{ persongroup | slice: 1 }} {% endif %}
-Please complete all your 2023 Compliance Courses.
Please complete all your 2023 Compliance Courses.
+Click the drop down box below to view courses that are in progress or + complete.
| \n", + " | Path | \n", + "Mar 13 - Apr 11 | \n", + "
|---|---|---|
| School Name | \n", + "\n", + " | \n", + " |
| Vivvix University for Ad Intel | \n", + "/courses | \n", + "25 | \n", + "
| Vivvix University for Ad Intel | \n", + "/previews | \n", + "16 | \n", + "
| Vivvix University for Ad Intel | \n", + "/account_links | \n", + "11 | \n", + "
| Vivvix University for Ad Intel | \n", + "/analytics | \n", + "8 | \n", + "
| Vivvix University for Ad Intel | \n", + "/settings/general/edit | \n", + "7 | \n", + "
| Vivvix University for Ad Intel | \n", + "/apps/integrations | \n", + "4 | \n", + "
| Vivvix University for Ad Intel | \n", + "/accounts/general/edit | \n", + "4 | \n", + "
| Vivvix University for Ad Intel | \n", + "/people | \n", + "3 | \n", + "
| Vivvix University for Ad Intel | \n", + "/settings/authentication | \n", + "3 | \n", + "
| Vivvix University for Ad Intel | \n", + "/styling/general/edit | \n", + "2 | \n", + "
| \n", + " | Total Views | \n", + "
|---|
| \n", + " | Total Views | \n", + "
|---|---|
| School Name | \n", + "\n", + " |
| Vivvix University for Ad Intel | \n", + "110 | \n", + "
| '@properties Academy | \n", + "322 | \n", + "
| 4 Pillars Academy | \n", + "112 | \n", + "
| AIIM+ | \n", + "528 | \n", + "
| ASAPP University | \n", + "153 | \n", + "
| \n", + " | Total Views | \n", + "
|---|---|
| School Name | \n", + "\n", + " |
| Vivvix for Ad Intel | \n", + "110 | \n", + "
| '@properties | \n", + "322 | \n", + "
| 4 Pillars | \n", + "112 | \n", + "
| AIIM+ | \n", + "528 | \n", + "
| ASAPP | \n", + "153 | \n", + "
| | AgencyBloc | \n", + "3373 | \n", + "
| Académie Évolupharma | \n", + "253 | \n", + "
| Access | \n", + "11 | \n", + "
| ActiveLearner | \n", + "1907 | \n", + "
| Ad Intel | \n", + "2 | \n", + "
3 rows × 39 columns
\n", "\n",
- "# Freeze the top two rows\n",
- "cust_data.iloc[:2, :].style.set_properties(**{'background-color': 'lightblue', 'color': 'black', 'border-color': 'white'})\n",
- "\n",
- " \n",
- " \n",
- "# Get the list of columns\n",
- "cols = list(cust_data.columns)\n",
- "\n",
- "# Get the index of the Churn Date column\n",
- "churn_date_index = cols.index('Churn Date')\n",
- "\n",
- "# Get the value of the Churn Date column for each row\n",
- "churn_dates = cust_data['Churn Date'].tolist()\n",
- "\n",
- "# Iterate through each row in the dataframe\n",
- "for i, row in cust_data.iterrows():\n",
- " # Get the value of the Churn Date column for this row\n",
- " churn_date = churn_dates[i]\n",
- "\n",
- " # Get the index of the column with the same month/year as the Churn Date column\n",
- " col_index = cols.index(churn_date)\n",
- "\n",
- " # Reorganize the columns so that the last column is the one with the same month/year as the Churn Date column\n",
- " cust_data = cust_data[cols[:churn_date_index] + cols[col_index:] + cols[churn_date_index:col_index]]\n",
- "\n",
- " \n",
- "