kopia lustrzana https://github.com/wagtail/wagtail
rename files to lower_snake_case
rodzic
6b4a551c0b
commit
286a26a23d
|
@ -911,13 +911,13 @@ def dialog(
|
|||
|
||||
|
||||
# Closing tag for dialog tag {% enddialog %}
|
||||
@register.inclusion_tag("wagtailadmin/shared/dialog/end-dialog.html")
|
||||
@register.inclusion_tag("wagtailadmin/shared/dialog/end_dialog.html")
|
||||
def enddialog():
|
||||
return
|
||||
|
||||
|
||||
# Button used to open dialogs
|
||||
@register.inclusion_tag("wagtailadmin/shared/dialog/dialog-toggle.html")
|
||||
@register.inclusion_tag("wagtailadmin/shared/dialog/dialog_toggle.html")
|
||||
def dialog_toggle(dialog_id, class_name="", text=None):
|
||||
if not dialog_id:
|
||||
raise ValueError("You must supply the dialog ID")
|
||||
|
|
Ładowanie…
Reference in New Issue