From cc1a7e5d4f91bae730c969b28967b2706b544d6e Mon Sep 17 00:00:00 2001 From: Samriddha Chattopadhyay <200020040@iitdh.ac.in> Date: Sat, 30 Oct 2021 11:43:49 +0530 Subject: [PATCH] Requested changes made. (#35) * Update admin.py * Bump google-auth from 2.0.0 to 2.3.0 Bumps [google-auth](https://github.com/googleapis/google-auth-library-python) from 2.0.0 to 2.3.0. - [Release notes](https://github.com/googleapis/google-auth-library-python/releases) - [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.0.0...v2.3.0) --- updated-dependencies: - dependency-name: google-auth dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Create greetings.yml * Bump astroid from 2.8.3 to 2.8.4 Bumps [astroid](https://github.com/PyCQA/astroid) from 2.8.3 to 2.8.4. - [Release notes](https://github.com/PyCQA/astroid/releases) - [Changelog](https://github.com/PyCQA/astroid/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/astroid/compare/v2.8.3...v2.8.4) --- updated-dependencies: - dependency-name: astroid dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Bump google-auth from 2.3.0 to 2.3.1 Bumps [google-auth](https://github.com/googleapis/google-auth-library-python) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/googleapis/google-auth-library-python/releases) - [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.3.0...v2.3.1) --- updated-dependencies: - dependency-name: google-auth dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Email templates added * Delete greetings.yml * Delete greetings.yml * Bump google-auth from 2.3.1 to 2.3.2 Bumps [google-auth](https://github.com/googleapis/google-auth-library-python) from 2.3.1 to 2.3.2. - [Release notes](https://github.com/googleapis/google-auth-library-python/releases) - [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.3.1...v2.3.2) --- updated-dependencies: - dependency-name: google-auth dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Requested Changes made Changed the Message like this: ```Congratulations, You have been selected for the {designation} at {company_name}.``` and removed additional fields * Requested Changes made Change the message to this ```We regret to inform you that you have not been selected for {designation} role at {company_name}. CDC will keep bringing more such opportunities for you in the future.``` and removed additional optional fields. Co-authored-by: CDC-IITDH <76999613+CDC-IITDH@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- CDC_Backend/APIs/admin.py | 5 +- ...udent_application_status_not_selected.html | 84 ++++++++++++++++++ .../student_application_status_selected.html | 83 +++++++++++++++++ requirements.txt | Bin 1382 -> 700 bytes 4 files changed, 168 insertions(+), 4 deletions(-) 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/APIs/admin.py b/CDC_Backend/APIs/admin.py index bc5b427..4c26bd9 100644 --- a/CDC_Backend/APIs/admin.py +++ b/CDC_Backend/APIs/admin.py @@ -3,10 +3,7 @@ from .models import * admin.site.register(User) admin.site.register(Student) -admin.site.register(PR) -admin.site.register(Company) +admin.site.register(Admin) admin.site.register(Placement) -admin.site.register(Internship) admin.site.register(PlacementApplication) -admin.site.register(InternshipApplication) admin.site.register(PrePlacementOffer) 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..3ac48d7 --- /dev/null +++ b/CDC_Backend/templates/student_application_status_not_selected.html @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ +
+ + + + + + + +
+

Hey, {{ student_name }}

+

+ We regret to inform you that you have not been selected for {designation} role at {company_name}. + CDC will keep bringing more such opportunities for you in the future. +

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

+ ® CDC,IIT Dharwad,2021
+

+
+
+
+ + 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..07d84c2 --- /dev/null +++ b/CDC_Backend/templates/student_application_status_selected.html @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ +
+ + + + + + + +
+

Hey, {{ student_name }}

+

+ Congratulations, You have been selected for the {designation} at {company_name}.
+

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

+ ® CDC,IIT Dharwad,2021
+

+
+
+
+ + diff --git a/requirements.txt b/requirements.txt index 505b327c5aef46f285bd72aa4cc82de8f61a6695..01f0ea8213ac60c291d0b44f0156be1b80e82c34 100644 GIT binary patch literal 700 zcmYk4O>)~X42Ace@lnVTCEH0C+I8DQKq4j4rU(Y4#+I*^MUK=f6rkHocLMSAK0N66 z=NIJJlbia!({VGPFhF){qag2Rnep=qaYi9y7AccZ z4KUtj!Yx`=Am13vaQ^(AA8}2MK!>4S2$eV zSX3f>>_U5y%rBsu#e1xS#G7>-VQ_+Vk?W)YWnxRMmo1n@no{0JOmnLSAAxvS%feE; zLyqQUGyC@n)rxitj=P(et!WQFGHt63Z!Tr!$&s9v;mLh$>_HW4DC*Y4_&?GMSha|;<*mJj61Wz Nyyl%C)w`PN_a9jj&20bx literal 1382 zcmZ{k-Ex~y41{&vnLY}c;3Q3Z(YxOEAuwQS2LlB>j`Q$Izm+(}?o7vX{3mI5wbJ3^ zy|Bp|+uLZh?d&_R2fMRJPHvy=lPNwE?a8S;z9IIN^WgE4jM9ElJ(JU0OTJKqpv=c5 zs|I5RW5-c^WA~h#jGS*m6q}F=GAqYRIEvrj#3zqu*1U z$}BurxQa?+=&S5t8LR~w3)^zUklBfv))AHe#0ecg$S+`TKoy!i3t!ZQ&{8yWw9;P4 zm5V2;Dv-r9@o%^#A5{P3dT;AXs*X00KRcIlr6&Jx_6Ta`Gb!9j{Z1;w?dal`r$TAw zJ~e1fP6ks<>EGV8Gun>b;%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