-
-
- {% render_table consoleserverport_table 'inc/table.html' %}
-
-
+
+ {% if request.user.is_authenticated %}
+
+ {% endif %}
-
-{% include 'inc/paginator.html' with paginator=consoleserverport_table.paginator page=consoleserverport_table.page %}
-{% table_config_form consoleserverport_table %}
+ {% render_table consoleserverport_table 'inc/table.html' %}
+
+ {% if perms.dcim.change_consoleserverport %}
+
+
+
+ {% endif %}
+ {% if perms.dcim.delete_consoleserverport %}
+
+ {% endif %}
+ {% if perms.dcim.add_consoleserverport %}
+
+ {% endif %}
+
+
+
+ {% include 'inc/paginator.html' with paginator=consoleserverport_table.paginator page=consoleserverport_table.page %}
+ {% table_config_form consoleserverport_table %}
{% endblock %}
diff --git a/netbox/templates/dcim/device/devicebays.html b/netbox/templates/dcim/device/devicebays.html
index d4d8c6218..ddcac4b06 100644
--- a/netbox/templates/dcim/device/devicebays.html
+++ b/netbox/templates/dcim/device/devicebays.html
@@ -4,45 +4,38 @@
{% load static %}
{% block content %}
-