mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 14:19:28 +00:00
Added the ability for HR staff to message the end user
This commit is contained in:
12
templates/hr/applications/add_message.html
Normal file
12
templates/hr/applications/add_message.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Send Message to Applicant{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="{% url hr.views.add_message applicationid %}" method="post">
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
<input type="submit" value="Apply" />
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -21,7 +21,8 @@
|
||||
<a href="{% url hr.views.update_application app.id 1 %}">Submit Application</a>,
|
||||
{% endif %}
|
||||
{% if hrstaff %}
|
||||
<a href="{% url hr.views.add_note app.id %}">Add Note</a>,
|
||||
<a href="{% url hr.views.add_note app.id %}">Add Note</a>,
|
||||
<a href="{% url hr.views.add_message app.id %}">Send Message to Applicant</a>,
|
||||
{% if app.status < 2 or app.status = 4 %}
|
||||
<a href="{% url hr.views.reject_application app.id %}">Reject Application</a>,
|
||||
<a href="{% url hr.views.accept_application app.id %}">Accept Application</a>,
|
||||
|
||||
13
templates/hr/emails/message.txt
Normal file
13
templates/hr/emails/message.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
Hi {{ app.character }},
|
||||
|
||||
A message was sent to you regarding your current application to {{ app.corporation }}:
|
||||
|
||||
{% if note %}
|
||||
{{ note }}
|
||||
{% endif %}
|
||||
|
||||
If you have any further questions regarding your application, please contact {{ app.corporation }} via the normal channels.
|
||||
|
||||
Regards,
|
||||
|
||||
{{ app.corporation }} HR Bot
|
||||
1
templates/hr/emails/message_subject.txt
Normal file
1
templates/hr/emails/message_subject.txt
Normal file
@@ -0,0 +1 @@
|
||||
A message regarding your application to {{ app.corporation }}.
|
||||
Reference in New Issue
Block a user