diff --git a/docs/contributing/documentation-modes.rst b/docs/contributing/documentation_modes.rst similarity index 100% rename from docs/contributing/documentation-modes.rst rename to docs/contributing/documentation_modes.rst diff --git a/wagtail/admin/templates/wagtailadmin/shared/dialog/dialog-toggle.html b/wagtail/admin/templates/wagtailadmin/shared/dialog/dialog_toggle.html similarity index 100% rename from wagtail/admin/templates/wagtailadmin/shared/dialog/dialog-toggle.html rename to wagtail/admin/templates/wagtailadmin/shared/dialog/dialog_toggle.html diff --git a/wagtail/admin/templates/wagtailadmin/shared/dialog/end-dialog.html b/wagtail/admin/templates/wagtailadmin/shared/dialog/end_dialog.html similarity index 100% rename from wagtail/admin/templates/wagtailadmin/shared/dialog/end-dialog.html rename to wagtail/admin/templates/wagtailadmin/shared/dialog/end_dialog.html diff --git a/wagtail/admin/templatetags/wagtailadmin_tags.py b/wagtail/admin/templatetags/wagtailadmin_tags.py index 2875b06aca..559eff5be9 100644 --- a/wagtail/admin/templatetags/wagtailadmin_tags.py +++ b/wagtail/admin/templatetags/wagtailadmin_tags.py @@ -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")