diff --git a/netbox/templates/generic/object_children.html b/netbox/templates/generic/object_children.html index a95f6ed0f..b9eabdc9d 100644 --- a/netbox/templates/generic/object_children.html +++ b/netbox/templates/generic/object_children.html @@ -8,8 +8,6 @@ Blocks: - content: Primary page content - table_controls: Control elements for the child objects table - bulk_controls: Bulk action buttons which appear beneath the child objects table - - bulk_edit_controls: Bulk edit buttons - - bulk_delete_controls: Bulk delete buttons - bulk_extra_controls: Other bulk action buttons - modals: Any pre-loaded modals diff --git a/netbox/utilities/templates/buttons/add.html b/netbox/utilities/templates/buttons/add.html index df257b5d2..cf14769d3 100644 --- a/netbox/utilities/templates/buttons/add.html +++ b/netbox/utilities/templates/buttons/add.html @@ -1,6 +1,3 @@ -{% if url %} -{% load i18n %} - - {% trans "Add" %} - -{% endif %} + + {{ label }} + diff --git a/netbox/utilities/templates/buttons/bulk_delete.html b/netbox/utilities/templates/buttons/bulk_delete.html index a4860ce2d..42dd7ce30 100644 --- a/netbox/utilities/templates/buttons/bulk_delete.html +++ b/netbox/utilities/templates/buttons/bulk_delete.html @@ -1,6 +1,3 @@ -{% load i18n %} -{% if url %} - -{% endif %} + diff --git a/netbox/utilities/templates/buttons/bulk_disconnect.html b/netbox/utilities/templates/buttons/bulk_disconnect.html index d5e6e6cd7..9ab53472b 100644 --- a/netbox/utilities/templates/buttons/bulk_disconnect.html +++ b/netbox/utilities/templates/buttons/bulk_disconnect.html @@ -1,6 +1,3 @@ -{% load i18n %} -{% if url %} - -{% endif %} + diff --git a/netbox/utilities/templates/buttons/bulk_edit.html b/netbox/utilities/templates/buttons/bulk_edit.html index a5aa03112..bc50d9b6e 100644 --- a/netbox/utilities/templates/buttons/bulk_edit.html +++ b/netbox/utilities/templates/buttons/bulk_edit.html @@ -1,6 +1,3 @@ -{% load i18n %} -{% if url %} - -{% endif %} + diff --git a/netbox/utilities/templates/buttons/bulk_rename.html b/netbox/utilities/templates/buttons/bulk_rename.html index aa1588e8d..376faa88b 100644 --- a/netbox/utilities/templates/buttons/bulk_rename.html +++ b/netbox/utilities/templates/buttons/bulk_rename.html @@ -1,6 +1,3 @@ -{% load i18n %} -{% if url %} - -{% endif %} + diff --git a/netbox/utilities/templates/buttons/bulk_sync.html b/netbox/utilities/templates/buttons/bulk_sync.html index 2563f0a95..e92ad15df 100644 --- a/netbox/utilities/templates/buttons/bulk_sync.html +++ b/netbox/utilities/templates/buttons/bulk_sync.html @@ -1,6 +1,3 @@ -{% load i18n %} -{% if url %} - -{% endif %} + diff --git a/netbox/utilities/templates/buttons/delete.html b/netbox/utilities/templates/buttons/delete.html index e367cfed1..768f605d0 100644 --- a/netbox/utilities/templates/buttons/delete.html +++ b/netbox/utilities/templates/buttons/delete.html @@ -1,12 +1,12 @@ -{% load i18n %} - {% trans "Delete" %} + {{ label }} diff --git a/netbox/utilities/templates/buttons/edit.html b/netbox/utilities/templates/buttons/edit.html index 9dc9a0b46..9890e5952 100644 --- a/netbox/utilities/templates/buttons/edit.html +++ b/netbox/utilities/templates/buttons/edit.html @@ -1,4 +1,3 @@ -{% load i18n %} - {% trans "Edit" %} + {{ label }} diff --git a/netbox/utilities/templates/buttons/export.html b/netbox/utilities/templates/buttons/export.html index 279757236..af388ca53 100644 --- a/netbox/utilities/templates/buttons/export.html +++ b/netbox/utilities/templates/buttons/export.html @@ -1,7 +1,7 @@ {% load i18n %}