kopia lustrzana https://github.com/wagtail/wagtail
rodzic
f9eb457b15
commit
7183b92ce3
|
@ -1164,7 +1164,6 @@ class RevisionsCompareView(WagtailAdminTemplateMixin, TemplateView):
|
||||||
history_label = gettext_lazy("History")
|
history_label = gettext_lazy("History")
|
||||||
page_title = gettext_lazy("Compare")
|
page_title = gettext_lazy("Compare")
|
||||||
template_name = "wagtailadmin/generic/revisions/compare.html"
|
template_name = "wagtailadmin/generic/revisions/compare.html"
|
||||||
_show_breadcrumbs = True
|
|
||||||
model = None
|
model = None
|
||||||
|
|
||||||
def get_breadcrumbs_items(self):
|
def get_breadcrumbs_items(self):
|
||||||
|
|
|
@ -87,7 +87,6 @@ class SearchPromotionCreateEditMixin:
|
||||||
edit_url_name = "wagtailsearchpromotions:edit"
|
edit_url_name = "wagtailsearchpromotions:edit"
|
||||||
form_class = forms.QueryForm
|
form_class = forms.QueryForm
|
||||||
header_icon = "pick"
|
header_icon = "pick"
|
||||||
_show_breadcrumbs = True
|
|
||||||
page_subtitle = gettext_lazy("Promoted search result")
|
page_subtitle = gettext_lazy("Promoted search result")
|
||||||
|
|
||||||
def get_success_message(self, instance=None):
|
def get_success_message(self, instance=None):
|
||||||
|
|
Ładowanie…
Reference in New Issue