Remove secret templates

This commit is contained in:
Daniel Sheppard 2021-03-10 15:18:18 -06:00
parent ba338bbb3f
commit f14bcf614c

View File

@ -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
#