mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
<tr class="rearpanelport">
|
|
{% if perms.dcim.change_rearpanelport or perms.dcim.delete_rearpanelport %}
|
|
<td class="pk">
|
|
<input name="pk" type="checkbox" value="{{ rearpanelport.pk }}" />
|
|
</td>
|
|
{% endif %}
|
|
<td>
|
|
<i class="fa fa-fw fa-square-o"></i> {{ rearpanelport }}
|
|
</td>
|
|
<td>{{ rearpanelport.get_type_display }}</td>
|
|
<td>{{ rearpanelport.positions }}</td>
|
|
<td class="text-right">
|
|
{% if perms.dcim.change_rearpanelport %}
|
|
<a href="{% url 'dcim:rearpanelport_edit' pk=rearpanelport.pk %}?return_url={{ device.get_absolute_url }}" title="Edit port" class="btn btn-info btn-xs">
|
|
<i class="glyphicon glyphicon-pencil" aria-hidden="true"></i>
|
|
</a>
|
|
{% endif %}
|
|
{% if perms.dcim.delete_rearpanelport %}
|
|
<a href="{% url 'dcim:rearpanelport_delete' pk=rearpanelport.pk %}?return_url={{ device.get_absolute_url }}" title="Delete port" class="btn btn-danger btn-xs">
|
|
<i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
|
|
</a>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|