From ed766fdfe59a55d8a6c9896cf0f2fd4b4fcfe125 Mon Sep 17 00:00:00 2001 From: Samy <200020040@iitdh.ac.in> Date: Tue, 26 Oct 2021 23:18:00 +0530 Subject: [PATCH] Email templates added --- ...udent_application_status_not_selected.html | 96 +++++++++++++++++++ .../student_application_status_selected.html | 96 +++++++++++++++++++ requirements.txt | 2 +- 3 files changed, 193 insertions(+), 1 deletion(-) create mode 100644 CDC_Backend/templates/student_application_status_not_selected.html create mode 100644 CDC_Backend/templates/student_application_status_selected.html diff --git a/CDC_Backend/templates/student_application_status_not_selected.html b/CDC_Backend/templates/student_application_status_not_selected.html new file mode 100644 index 0000000..8c38c7b --- /dev/null +++ b/CDC_Backend/templates/student_application_status_not_selected.html @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ +
+ + + + + + + +
+

Hey, {{ student_name }}

+

+ We are sorry to inform that your application for a {{ designation }} at + {{ company_name }} was not selected.
+

+ + {% for i,j in additional_info.items %} + + + + + {% endfor %} +
{{ i }}:{{ j }}
+

+
+ + + + +
+
+
+
+ + + + +
+

+ ® CDC,IIT Dharwad,2021
+

+
+
+
+ + \ No newline at end of file diff --git a/CDC_Backend/templates/student_application_status_selected.html b/CDC_Backend/templates/student_application_status_selected.html new file mode 100644 index 0000000..9c21d5f --- /dev/null +++ b/CDC_Backend/templates/student_application_status_selected.html @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ +
+ + + + + + + +
+

Hey, {{ student_name }}

+

+ Your application for a {{ designation }} at + {{ company_name }} has been selected.
+

+ + {% for i,j in additional_info.items %} + + + + + {% endfor %} +
{{ i }}:{{ j }}
+

+
+ + + + +
+
+
+
+ + + + +
+

+ ® CDC,IIT Dharwad,2021
+

+
+
+
+ + \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 3216191..1568936 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ lazy-object-proxy==1.6.0 Markdown==3.3.4 mccabe==0.6.1 platformdirs==2.4.0 -psycopg2==2.9.1 +psycopg2-binary==2.9.1 pyasn1==0.4.8 pyasn1-modules==0.2.8 pylint==2.11.1