From 38d8043c6b26ed2e78a7c116d2ba44a28877b3ff Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Fri, 30 Aug 2024 11:06:18 -0700 Subject: [PATCH] 17301 update buttons --- netbox/templates/extras/script_list.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/netbox/templates/extras/script_list.html b/netbox/templates/extras/script_list.html index 27613c7cd..3481efc4b 100644 --- a/netbox/templates/extras/script_list.html +++ b/netbox/templates/extras/script_list.html @@ -34,12 +34,14 @@
{% if perms.extras.edit_scriptmodule %} - {% url 'extras:scriptmodule_edit' pk=module.pk as edit_url %} - {% include 'buttons/edit.html' with url=edit_url %} + + {% trans "Edit" %} + {% endif %} {% if perms.extras.delete_scriptmodule %} - {% url 'extras:scriptmodule_delete' pk=module.pk as delete_url %} - {% include 'buttons/delete.html' with url=delete_url %} + + {% trans "Delete" %} + {% endif %}