From 41c10643bc1f438eab046f5cdc7c6166892b2677 Mon Sep 17 00:00:00 2001 From: bkfox Date: Wed, 11 Jan 2017 19:20:03 +0100 Subject: [PATCH] target update --- aircox_cms/sections.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aircox_cms/sections.py b/aircox_cms/sections.py index 292aa33..1a4c723 100755 --- a/aircox_cms/sections.py +++ b/aircox_cms/sections.py @@ -994,8 +994,12 @@ class SectionTimetable(SectionItem,DatedListBase): help_text = _('if checked, navigation dates will be shown') ) + # TODO: put in multi-field panel of datedlistbase panels = SectionItem.panels + DatedListBase.panels + [ - FieldPanel('target') + MultiFieldPanel([ + FieldPanel('nav_visible'), + FieldPanel('target'), + ], header=_('Navigation')), ] def get_queryset(self, context):