From f765428757b06dd555393de7c3e4fadb22b4b040 Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Thu, 14 Jul 2022 11:59:06 +0530 Subject: [PATCH] chore: Remove HRMS templates --- .../emails/anniversary_reminder.html | 25 --------- .../templates/emails/birthday_reminder.html | 25 --------- .../templates/emails/daily_work_summary.html | 55 ------------------- .../templates/emails/daily_work_summary.txt | 11 ---- .../templates/emails/holiday_reminder.html | 16 ------ erpnext/templates/emails/training_event.html | 21 ------- erpnext/templates/generators/job_opening.html | 33 ----------- .../templates/includes/salary_slip_log.html | 19 ------- 8 files changed, 205 deletions(-) delete mode 100644 erpnext/templates/emails/anniversary_reminder.html delete mode 100644 erpnext/templates/emails/birthday_reminder.html delete mode 100644 erpnext/templates/emails/daily_work_summary.html delete mode 100644 erpnext/templates/emails/daily_work_summary.txt delete mode 100644 erpnext/templates/emails/holiday_reminder.html delete mode 100644 erpnext/templates/emails/training_event.html delete mode 100644 erpnext/templates/generators/job_opening.html delete mode 100644 erpnext/templates/includes/salary_slip_log.html diff --git a/erpnext/templates/emails/anniversary_reminder.html b/erpnext/templates/emails/anniversary_reminder.html deleted file mode 100644 index db338ddcb0..0000000000 --- a/erpnext/templates/emails/anniversary_reminder.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
- {% for person in anniversary_persons %} - {% if person.image %} - - - {% else %} - - {{ frappe.utils.get_abbr(person.name) }} - - {% endif %} - {% endfor %} -
-
- {{ reminder_text }} -

{{ message }}

-
-
diff --git a/erpnext/templates/emails/birthday_reminder.html b/erpnext/templates/emails/birthday_reminder.html deleted file mode 100644 index 1f57b4969c..0000000000 --- a/erpnext/templates/emails/birthday_reminder.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
- {% for person in birthday_persons %} - {% if person.image %} - - - {% else %} - - {{ frappe.utils.get_abbr(person.name) }} - - {% endif %} - {% endfor %} -
-
- {{ reminder_text }} -

{{ message }}

-
-
diff --git a/erpnext/templates/emails/daily_work_summary.html b/erpnext/templates/emails/daily_work_summary.html deleted file mode 100644 index 1764e8f703..0000000000 --- a/erpnext/templates/emails/daily_work_summary.html +++ /dev/null @@ -1,55 +0,0 @@ - - -

{{ title }}

- -
-{% for reply in replies %} - - - - - - - - - - -
- {% if reply.image %} - - {% else %} -
- {{ reply.sender_name[0] }} -
- {% endif %} -
-
- {{ reply.sender_name }} -
-
- - - - - - - - -
-
- {{ reply.content }} -
-
- - -
-{% endfor %} -{% if did_not_reply %} - - -
-

{{ did_not_reply_title }}: {{ did_not_reply }}

-
- -
-{% endif %} diff --git a/erpnext/templates/emails/daily_work_summary.txt b/erpnext/templates/emails/daily_work_summary.txt deleted file mode 100644 index 2fb4380d8f..0000000000 --- a/erpnext/templates/emails/daily_work_summary.txt +++ /dev/null @@ -1,11 +0,0 @@ -{{ title }} - -{% for reply in replies %} -{{ reply.sender_name }}: -{{ reply.content }} - - -{% endfor %} -{% if did_not_reply %} -{{ did_not_reply_title }}: {{ did_not_reply }} -{% endif %} \ No newline at end of file diff --git a/erpnext/templates/emails/holiday_reminder.html b/erpnext/templates/emails/holiday_reminder.html deleted file mode 100644 index bbef6be672..0000000000 --- a/erpnext/templates/emails/holiday_reminder.html +++ /dev/null @@ -1,16 +0,0 @@ -
- {{ reminder_text }} -

{{ message }}

-
- -{% if advance_holiday_reminder %} - {% if holidays | len > 0 %} -
    - {% for holiday in holidays %} -
  1. {{ frappe.format(holiday.holiday_date, 'Date') }} - {{ holiday.description }}
  2. - {% endfor %} -
- {% else %} -

You have no upcoming holidays this {{ frequency }}.

- {% endif %} -{% endif %} diff --git a/erpnext/templates/emails/training_event.html b/erpnext/templates/emails/training_event.html deleted file mode 100644 index 8a2414a3c9..0000000000 --- a/erpnext/templates/emails/training_event.html +++ /dev/null @@ -1,21 +0,0 @@ -

{{_("Training Event")}}

-

{{ message }}

- -

{{_("Details")}}

-{{_("Event Name")}}: {{ name }} -
{{_("Event Location")}}: {{ location }} -
{{_("Start Time")}}: {{ start_time }} -
{{_("End Time")}}: {{ end_time }} -
{{_("Attendance")}}: {{ attendance }} - -

{{_("Update Response")}}

-{% if not self_study %} -

{{_("Please update your status for this training event")}}:

-
-
-{% else %} -

{{_("Please confirm once you have completed your training")}}:

-
-{% endif %} -

{{_("Thank you")}},
-{{ user_fullname }}

diff --git a/erpnext/templates/generators/job_opening.html b/erpnext/templates/generators/job_opening.html deleted file mode 100644 index 135fb3643d..0000000000 --- a/erpnext/templates/generators/job_opening.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "templates/web.html" %} - -{% block breadcrumbs %} - {% include "templates/includes/breadcrumbs.html" %} -{% endblock %} - -{% block header %} -

{{ job_title }}

-{% endblock %} - -{% block page_content %} - -{%- if description -%} -
{{ description }}
-{% endif %} - -{%- if publish_salary_range -%} -
{{_("Salary range per month")}}: {{ frappe.format_value(frappe.utils.flt(lower_range), currency=currency) }} - {{ frappe.format_value(frappe.utils.flt(upper_range), currency=currency) }}
-{% endif %} - -

- {%- if job_application_route -%} - - {{ _("Apply Now") }} - {% else %} - - {{ _("Apply Now") }} - {% endif %} -

- -{% endblock %} diff --git a/erpnext/templates/includes/salary_slip_log.html b/erpnext/templates/includes/salary_slip_log.html deleted file mode 100644 index 22c62ceecc..0000000000 --- a/erpnext/templates/includes/salary_slip_log.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - {% for key in keys %} - - {% endfor %} - - - - {% for ss_dict in ss_list %} - - {% for key, value in ss_dict.items()|sort %} - - {% endfor %} - - {% endfor %} - -
{{title}}
{{ key }}
{{value}}