Disable inline panels to prevent unintended deletions
This commit is contained in:
parent
2eaea595e1
commit
db1357fa24
|
|
@ -38,26 +38,26 @@ class Module(StrictHierarchyPage):
|
|||
FieldPanel("hero_source"),
|
||||
FieldPanel("teaser"),
|
||||
FieldPanel("intro"),
|
||||
InlinePanel(
|
||||
"assignments",
|
||||
label=_("Assignment"),
|
||||
classname="collapsed",
|
||||
heading=_("linked assignments"),
|
||||
help_text=_(
|
||||
"These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
||||
)
|
||||
% _("assignments"),
|
||||
),
|
||||
InlinePanel(
|
||||
"surveys",
|
||||
heading=_("linked surveys"),
|
||||
label=_("Survey"),
|
||||
classname="collapsed",
|
||||
help_text=_(
|
||||
"These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
||||
)
|
||||
% _("surveys"),
|
||||
),
|
||||
# InlinePanel(
|
||||
# "assignments",
|
||||
# label=_("Assignment"),
|
||||
# classname="collapsed",
|
||||
# heading=_("linked assignments"),
|
||||
# help_text=_(
|
||||
# "These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
||||
# )
|
||||
# % _("assignments"),
|
||||
# ),
|
||||
# InlinePanel(
|
||||
# "surveys",
|
||||
# heading=_("linked surveys"),
|
||||
# label=_("Survey"),
|
||||
# classname="collapsed",
|
||||
# help_text=_(
|
||||
# "These %s are automatically linked, they are shown here only to provide an overview. Please don't change anything here."
|
||||
# )
|
||||
# % _("surveys"),
|
||||
# ),
|
||||
]
|
||||
|
||||
edit_handler = TabbedInterface(
|
||||
|
|
|
|||
Loading…
Reference in New Issue