Added the ability for HR staff to message the end user

This commit is contained in:
2010-05-28 09:24:25 +01:00
parent 364c23dd48
commit 981a1843a6
7 changed files with 47 additions and 3 deletions

View 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 %}

View File

@@ -21,7 +21,8 @@
<a href="{% url hr.views.update_application app.id 1 %}">Submit Application</a>,&nbsp;
{% 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>,&nbsp;
<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>,&nbsp;
<a href="{% url hr.views.accept_application app.id %}">Accept Application</a>,&nbsp;

View 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

View File

@@ -0,0 +1 @@
A message regarding your application to {{ app.corporation }}.