Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Barry Cannon 62860d53ae Bug 15311 - Let libraries set text to display when OpacMaintenance = on
Added new systempreference OpacMaintenanceNotice.
When OpacMaintenance is ON the HTML contents of OpacMaintenanceNotice will
be displayed.
Enabling OpacMaintenance is all that is required to enable this preference.
If OpacMaintenanceNotice is undefined, the default (original) notice will
appear when OpacMaintenance is enabled.

To test:
- Enable OpacMaintenance systempreference
- Observe the default maintenance message when OPAC is viewed
- Edit OpacMaintenanceNotice systempreference, adding custom HTML
- Observe the custom HTML appear on the opac
- Remove OpacMaintenanceNotice (mindful of orphaned spaces etc.)
- Observe the default opac notice appears in the opac
- Disable OpacMaintenance
- Observce opac is back online

Moving code to atomic update and fixing merge conflict

NOTE: Accounted for an SQL typo and autoescaping of the template.
      If someone else could test this, then I would be fine with
      marking it signed off.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-26 14:19:20 +00:00
..
preferences Bug 15311 - Let libraries set text to display when OpacMaintenance = on 2016-02-26 14:19:20 +00:00
admin-home.tt Bug 9021 [QA Followup] - Use TT plugin instead of passing syspref via script 2016-02-14 12:40:05 +00:00
aqbudgetperiods.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
aqbudgets.tt Bug 15285: Fix conflict with the treetable plugin 2016-02-24 00:02:50 +00:00
aqcontract.tt Bug 14931: (Follow-up) Validate date entry in contracts 2015-10-29 12:00:36 -03:00
aqplan.tt Bug 15049: Simplify code in aqplan.tt 2015-12-30 23:34:34 +00:00
audio_alerts.tt Bug 11431: (QA followup) Add ability to edit audio alerts 2015-11-04 12:33:10 -03:00
auth_subfields_structure.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
auth_tag_structure.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
authorised_values.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
authtypes.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
biblio_framework.tt Bug 15665: Better wording of error messages when importing MARC frameworks 2016-02-24 03:43:24 +00:00
branch_transfer_limits.tt Bug 15363: Translatability: Fix issue with ambiguous 'all' on Administration > Set library checkin and transfer policy 2015-12-29 20:35:49 +00:00
branches.tt Bug 15784: Library deletion warning is incorrectly styled 2016-02-24 01:37:33 +00:00
categories.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
checkmarc.tt Bug 7817: (followup) add test on MARC bibliographic framework test 2014-09-08 12:29:38 -03:00
cities.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
classsources.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
clone-rules.tt Bug 15598: Also fixing space near exclamation mark in other files 2016-01-27 05:19:38 +00:00
columns_settings.tt Bug 15361: Translatability: Fix issue on Administration Columns settings 2015-12-29 20:28:04 +00:00
currency.tt Bug 15285: Update for 3 specific tables 2016-02-24 00:02:50 +00:00
didyoumean.tt Bug 15362: Translatability: Fix issue on Administration 'Did you mean?' 2015-12-29 20:33:43 +00:00
fieldmapping.tt
item_circulation_alerts.tt Bug 14828: Use Koha::ItemType[s] everywhere C4::ItemType was used 2016-01-27 20:46:58 +00:00
items_search_field.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
items_search_fields.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
itemtypes.tt Bug 15306: Do not display the translate link if only 1 language is installed 2016-02-23 23:59:20 +00:00
koha2marclinks.tt Bug 15236: Better translatibility in "Connect biblio.biblionumber to a MARC subfield" 2015-12-29 23:29:56 +00:00
localization.tt Bug 15477: (follow-up) Bug 14100: Better errors handling 2016-01-12 16:13:41 +00:00
marc_subfields_structure.tt Bug 15843: Move MARC subfields structure JavaScript into separate file 2016-02-24 01:30:56 +00:00
marctagstructure.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
matching-rules.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
oai_set_mappings.tt Bug 12686: Make more selected option XHTML compliant 2014-08-07 10:58:39 -03:00
oai_sets.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
patron-attr-types.tt Bug 15785 - Use Font Awesome icons in confirmation dialogs 2016-02-23 20:46:05 +00:00
preferences.tt Bug 15808 - Remove "Return to where you were before" from sysprefs 2016-02-24 01:33:47 +00:00
printers.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
smart-rules.tt Bug 15354: (QA followup) remove tab character 2016-01-19 15:34:32 -07:00
sms_providers.tt Bug 9021 [QA Followup] - Add additional message to deletion warning if provider is in use. 2016-02-14 12:40:08 +00:00
sru_modmapping.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
systempreferences.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
transport-cost-matrix.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
z3950servers.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00