|
@@ -216,12 +216,12 @@
|
|
|
<small>{{ resv.user }} · {{ resv.created }}</small>
|
|
|
</td>
|
|
|
<td class="text-right">
|
|
|
- {% if perms.change_rackreservation %}
|
|
|
+ {% if perms.dcim.change_rackreservation %}
|
|
|
<a href="{% url 'dcim:rackreservation_edit' pk=resv.pk %}" class="btn btn-warning btn-xs" title="Edit reservation">
|
|
|
<i class="glyphicon glyphicon-pencil" aria-hidden="true"></i>
|
|
|
</a>
|
|
|
{% endif %}
|
|
|
- {% if perms.delete_rackreservation %}
|
|
|
+ {% if perms.dcim.delete_rackreservation %}
|
|
|
<a href="{% url 'dcim:rackreservation_delete' pk=resv.pk %}" class="btn btn-danger btn-xs" title="Delete reservation">
|
|
|
<i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
|
|
|
</a>
|