mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
Remove secret templates
This commit is contained in:
parent
ba338bbb3f
commit
f14bcf614c
@ -26,6 +26,7 @@ def _get_viewname(instance, action):
|
||||
|
||||
return viewname
|
||||
|
||||
|
||||
#
|
||||
# Table buttons
|
||||
#
|
||||
@ -44,6 +45,7 @@ def tr_edit_button(instance, extra=None):
|
||||
'url': url,
|
||||
}
|
||||
|
||||
|
||||
@register.inclusion_tag('buttons/tr_delete.html')
|
||||
def tr_delete_button(instance, extra=None):
|
||||
viewname = _get_viewname(instance, 'delete')
|
||||
@ -58,6 +60,7 @@ def tr_delete_button(instance, extra=None):
|
||||
'url': url,
|
||||
}
|
||||
|
||||
|
||||
@register.inclusion_tag('buttons/tr_changelog.html')
|
||||
def tr_changelog_button(instance):
|
||||
app_label = _resolve_namespace(instance)
|
||||
@ -69,7 +72,6 @@ def tr_changelog_button(instance):
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Instance buttons
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user