mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-22 22:29:34 +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>,
|
||||
|
||||
Reference in New Issue
Block a user