mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Rename 'icon' context variable to avoid leaking into shared/field.html
This commit is contained in:
parent
8766277e44
commit
034da854bc
@ -1,5 +1,5 @@
|
||||
{% load i18n wagtailadmin_tags %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=page_title merged=1 icon=icon %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=page_title merged=1 icon=header_icon %}
|
||||
|
||||
<div class="w-tabs" data-tabs data-tabs-disable-url>
|
||||
<div class="tab-content nice-padding">
|
||||
|
@ -23,7 +23,7 @@ class ModalPageFurnitureMixin(ContextMixin):
|
||||
context = super().get_context_data(**kwargs)
|
||||
context.update(
|
||||
{
|
||||
"icon": self.icon,
|
||||
"header_icon": self.icon,
|
||||
"page_title": self.page_title,
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user