| 123456789101112131415161718192021222324 |
- <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>
|