This is an additional message to the maintenance message. Example use case: ILL delivery service temporarily unavailable.
Includes release notes.
Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
text-align: center;
}
+#alert_message {
+ padding: 5px;
+ width: 100%;
+ background-color: [% css_colors.text_attention %];
+ text-align: center;
+}
+
#search-box > span {
margin: 0 1em;
}
# Set a maintenance message to display in the catalogue
#
# ctx.maintenance_message = "The system will not be available February 29, 2104.";
+#
+# Set an alert message to display in the catalogue
+#
+# ctx.alert_message = "This is an important message that all users should see.";
##############################################################################
# Depth Button/Checkbox
[%- IF ctx.maintenance_message -%]
<div id="maintenance_message">[% ctx.maintenance_message %]</div>
[%- END -%]
+[%- IF ctx.alert_message -%]
+<div id="alert_message">[% ctx.alert_message %]</div>
+[%- END -%]
[% IF !ctx.is_staff %]
<div id="header-wrap">
<div id="header">
--- /dev/null
+Additional Alert Message for Public Catalog
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+An additional alert message that can be displayed in the public catalog, in addition to the maintenance message. Example use case: To let patrons know that the ILL delivery service will be unavailable for a period of time. To enable the message, remove the comment from ctx.alert_message in config.tt2 and edit the message as needed.
+