Files
ihrm/recruitment/templates/candidate/candidate_history.html
Ashwanth Balakrishnan 58be33a8d7 Added Pre-Commit Hooks (#175)
* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-05-07 12:23:36 +05:30

35 lines
937 B
HTML

{% load recruitmentfilters %}
<h1>{{history.0.name}} history</h1>
<table class='table table-striped'>
<tr>
<th>Stage</th>
<th>Scheduled</th>
<th>Updated at</th>
<th>Changed by</th>
</tr>
{% for candidate_history in history %}
{% if candidate_history.stage_id != None %}
<tr>
<td>{{candidate_history.stage_id}}</td>
<td>
{% if candidate_history.schedule_date != None %}
{{candidate_history.schedule_date}}
{% endif %}
</td>
<td>
{% if candidate_history.history_date == None %}
{{candidate_history.history_date}}
{% else %}
{{candidate_history.history_date}}
{% endif %}
</td>
<td>
{{candidate_history.history_user_id|employee}}
</td>
</tr>
{% endif %}
{% endfor %}
</table>