Similar to maintenance message, but less jarringly visible.
Also not shown in the staff client.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
text-align: center;
}
+#notice_message {
+ padding: 5px;
+ width: 100%;
+ background-color: [% css_colors.background_invert %];
+ color: [% css_colors.text_invert %];
+ text-align: center;
+}
+
#search-box > span {
margin: 0 1em;
}
#
# ctx.maintenance_message = "The system will not be available February 29, 2104.";
+##############################################################################
+
+# Set a notice message to display in the catalogue
+#
+# ctx.notice_message = "Our catalog is now more mobile-friendly!";
+
%]
<div id="maintenance_message">[% ctx.maintenance_message %]</div>
[%- END -%]
[% IF !ctx.is_staff %]
+[%- IF ctx.notice_message -%]
+<div id="notice_message">[% ctx.notice_message %]</div>
+[%- END -%]
<div id="header-wrap">
<div id="header">
<div class="float-left">