Skip to content

Commit

Permalink
No deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyParts committed Mar 13, 2024
1 parent d14ec84 commit 926e4ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions hrapps/templates/hrapps/management.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@
<a href="{% url 'hrapps:view' app.id %}" class="btn btn-primary">
<i class="fa-solid fa-eye"></i>
</a>

{% if perms.hrapplications.delete_application %}
<!-- No Deleting -->
<!-- {% if perms.hrapplications.delete_application %}
<a href="{% url 'hrapps:remove' app.id %}" class="btn btn-danger">
<i class="fa-solid fa-trash-can"></i>
</a>
{% endif %}
{% endif %} -->
</td>
</tr>
{% endfor %}
Expand Down
5 changes: 3 additions & 2 deletions hrapps/templates/hrapps/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@
{% if perms.hrapps.reject_application %}
<a href="{% url 'hrapps:reject' app.id %}" class="btn btn-warning">{% translate "Reject" %}</a>
{% endif %}
{% if perms.hrapps.delete_application %}
<!-- No Deleting -->
<!-- {% if perms.hrapps.delete_application %}
<a href="{% url 'hrapps:remove' app.id %}" class="btn btn-danger">{% translate "Delete" %}</a>
{% endif %}
{% endif %} -->
{% elif not app.reviewer %}
<a href="{% url 'hrapps:mark_in_progress' app.id %}" class="btn btn-warning">{% translate "Mark in Progress" %}</a>
{% endif %}
Expand Down

0 comments on commit 926e4ff

Please sign in to comment.