diff --git a/powerdnsadmin/templates/domain.html b/powerdnsadmin/templates/domain.html
index ebd0f2c..2cef52f 100755
--- a/powerdnsadmin/templates/domain.html
+++ b/powerdnsadmin/templates/domain.html
@@ -86,11 +86,7 @@
Data |
{% if domain.type != 'Slave' %}
Comment |
- Edit |
- Delete |
- {% if current_user.role.name in ['Administrator', 'Operator'] or allow_user_view_history %}
- Changelog |
- {% endif %}
+ Actions |
{% else %}
Invisible Sorting Column |
{% endif %}
@@ -108,7 +104,7 @@
{{ record.comment }} |
{% if record.is_allowed_edit() %}
-
{% endif %}
- |
-
{% if record.is_allowed_delete() %}
-
+
{% endif %}
- |
- {% if current_user.role.name in ['Administrator', 'Operator'] or allow_user_view_history %}
-
-
+ class="btn btn-primary btn-sm">
- |
- {% endif %}
+ {% endif %}
+
{% endif %}
1 |
@@ -155,6 +147,7 @@
table#tbl_records thead th:nth-child(2),
table#tbl_records thead th:nth-child(3),
table#tbl_records thead th:nth-child(4) { width: 100px; }
+ table#tbl_records thead th:nth-child(7) { width: 80px; }
table#tbl_records tbody td { text-align: center; }
table#tbl_records tbody td:nth-child(0n+5),
table#tbl_records tbody td:nth-child(0n+6) { text-align: left; word-break: break-all; }
@@ -203,11 +196,7 @@
// regardless of whatever sorting is done. See orderFixed
visible: false,
{% if domain.type != 'Slave' %}
- {% if current_user.role.name in ['Administrator', 'Operator'] or allow_user_view_history %}
- targets: [9]
- {% else %}
- targets: [8]
- {% endif %}
+ targets: [7]
{% else %}
targets: [5]
{% endif %}
@@ -225,11 +214,7 @@
}
],
{% if domain.type != 'Slave' %}
- {% if current_user.role.name in ['Administrator', 'Operator'] or allow_user_view_history %}
- "orderFixed": [[9, 'asc']]
- {% else %}
- "orderFixed": [[8, 'asc']]
- {% endif %}
+ "orderFixed": [[7, 'asc']]
{% else %}
"orderFixed": [[5, 'asc']]
{% endif %}