HR milestone 2, application audit log and tracking.

This milestone brings in application auditing, allowing for people to track who modify what applications and provide
acception/rejection reasons as part of the messages sent out to the users.
This commit is contained in:
2010-04-30 19:11:03 +01:00
parent 18fa620aab
commit adb172bf47
12 changed files with 220 additions and 31 deletions

View File

@@ -13,6 +13,7 @@
<li>Application Status: <b>{{ app.status_description }}</b></li>
</ul>
<h3>Actions</h3>
{% if form %}
<form action="{% url hr.views.update_application app.id %}" method="post">
<table>
@@ -22,6 +23,20 @@
</form>
{% endif %}
{% if hrstaff %}
<p><a href="{% url hr.views.add_note app.id %}">Add Note</a>, <a href="{% url hr.views.reject_application app.id %}">Reject Application</a>, <a href="{% url hr.views.accept_application app.id %}">Accept Application</a></p>
{% endif %}
{% if audit %}
<h3>Event Log</h3>
<table>
<tr><th>Event Type</th><th>Changed By</th><th>Changed Date</th><th>Event Details</th></tr>
{% for a in audit %}
<tr><td>{{ a.event_description }}</td><td>{{ a.user }}</td><td>{{ a.date }}</td><td>{{ a.text }}</td></tr>
{% endfor %}
</table>
{% endif %}
{% if recs %}
<h3>Recommendations</h3>
<ul>