+CUSTOM_HEADER_RENDER_MODE = Setting('CUSTOM_HEADER_RENDER_MODE', 'markdown', HEAD_AND_FOOT_SET, dict(
+ label = _("Custom Header rendering mode"),
+ help_text = _("How to render your custom header code."),
+ widget=Select(choices=RENDER_CHOICES),
+ required=False))
+
+USE_ANNOUNCEMENT_BAR = Setting('USE_ANNOUNCEMENT_BAR', False, HEAD_AND_FOOT_SET, dict(
+ label = _("Show announcement bar"),
+ help_text = _("Some piece of content that goes under the search bar and can be used for announcements, etc."),
+ required=False))
+
+ANNOUNCEMENT_BAR = Setting('ANNOUNCEMENT_BAR', '', HEAD_AND_FOOT_SET, dict(
+ label = _("Announcement bar"),
+ help_text = _("The announcement bar content."),
+ widget=Textarea(attrs={'rows': '25'}),
+ required=False))
+
+ANNOUNCEMENT_BAR_RENDER_MODE = Setting('ANNOUNCEMENT_BAR_RENDER_MODE', 'markdown', HEAD_AND_FOOT_SET, dict(
+ label = _("Announcement bar rendering mode"),
+ help_text = _("How to render your announcement bar code."),
+ widget=Select(choices=RENDER_CHOICES),
+ required=False))
+