Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Owen Leonard b7f0b58ee8
Bug 23798: Convert OpacMaintenanceNotice system preference to additional contents
This patch moves the OpacMaintenanceNotice system preference into HTML
customizations, making it possible to have language-specific content.

The patch modifies the OPAC maintenance page template so that the
language selection menu can be shown correctly according to the
OpacLangSelectorMode preference.

To test you should have some content in the OpacMaintenanceNotice
system preference before applying the patch. Apply the patch and run the
database update process.

- In the staff client, go to Tools -> HTML customizations and verify
  that the content from OpacMaintenanceNotice is now stored there.
- The HTML customization entry form should offer OpacMaintenanceNotice
  as a choice under "Display location."
- Update and reinstall active translations (for instance fr-FR):
  - perl misc/translator/translate update fr-FR
  - perl misc/translator/translate install fr-FR
- Enable the translation if necessary under Administration -> System
  preferences -> language.
- Enable the "opaclanguagesdisplay" preference if necessary.
- Enable the "OpacMaintenance" system preference.
- Edit the OpacMaintenanceNotice HTML customization and add unique
  content to the "fr-FR" tab.

- Try to view any page in the OPAC. You should see the content you
  added to the OpacMaintenanceNotice HTML customization.
- Switch to your updated translation. The page should redisplay with
  your translated content.
- Go to Administration -> System preferences and search for
  "OpacMaintenanceNotice." The search should return no
  results.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-08 17:41:27 -03:00
..
preferences Bug 23798: Convert OpacMaintenanceNotice system preference to additional contents 2023-11-08 17:41:27 -03:00
searchengine/elasticsearch Bug 27153: Interface updates 2023-10-24 15:44:33 -03:00
additional-fields.tt
admin-home.tt Bug 30719: (QA follow-up) Squash: 2023-10-17 14:45:18 -03:00
adveditorshortcuts.tt
aqbudgetperiods.tt Bug 34404: Fix inconsistencies in Budgets and funds page titles, breadcrumbs, and headers 2023-11-08 09:58:57 -03:00
aqbudgets.tt Bug 34404: Fix inconsistencies in Budgets and funds page titles, breadcrumbs, and headers 2023-11-08 09:58:57 -03:00
aqcontract.tt
aqplan.tt Bug 34404: Fix inconsistencies in Budgets and funds page titles, breadcrumbs, and headers 2023-11-08 09:58:57 -03:00
audio_alerts.tt
auth_subfields_structure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
auth_tag_structure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
authorised_values.tt Bug 34677: (QA follow-up) Update description of RELTERMS authorised value 2023-10-09 11:41:29 -03:00
authtypes.tt Bug 34395: Fix inconsistencies in Authority types page titles, breadcrumbs, and header 2023-10-17 14:45:27 -03:00
background_jobs.tt Bug 34587: SUSHI COUNTER Harvester 2023-10-31 16:45:58 -03:00
biblio_framework.tt Bug 34393: Fix inconsistencies in MARC bibliographic framework page titles, breadcrumbs, and header 2023-10-09 11:41:30 -03:00
branch_transfer_limits.tt
branches.tt Bug 32721: (QA follow-up) Drop fields from API response 2023-10-19 16:00:56 -03:00
cash_registers.tt
categories.tt Bug 18203: Rename column 2023-11-01 18:01:39 -03:00
checkmarc.tt
cities.tt
classsources.tt Bug 34397: Fix inconsistencies in Classification sources page titles, breadcrumbs, and headers 2023-11-06 08:42:43 -03:00
clone-rules.tt
columns_settings.tt
credit_types.tt Bug 34390: (follow-up) Add single quotes around credit type 2023-10-09 11:41:24 -03:00
curbside_pickup.tt
currency.tt Bug 34982: Add pagination to the currencies table 2023-10-09 11:41:32 -03:00
debit_types.tt
desks.tt
didyoumean.tt
edi_accounts.tt Bug 34405: Fix inconsistencies in EDI accounts/Library EAN page titles, breadcrumbs, and headers 2023-10-17 14:45:26 -03:00
edi_ean_accounts.tt Bug 34405: Fix inconsistencies in EDI accounts/Library EAN page titles, breadcrumbs, and headers 2023-10-17 14:45:26 -03:00
identity_provider_domains.tt Bug 34406: (QA follow-up) Add another "Identity provier" to "domains" 2023-11-03 12:04:40 -03:00
identity_providers.tt Bug 35212: Correct mismatched label on identity provider entry form 2023-11-06 08:42:48 -03:00
ill_batch_statuses.tt Bug 30719: (QA follow-up) Squash: 2023-10-17 14:45:18 -03:00
item_circulation_alerts.tt
items_search_field.tt Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and headers 2023-10-17 14:45:29 -03:00
items_search_fields.tt Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and headers 2023-10-17 14:45:29 -03:00
itemtypes.tt
koha2marclinks.tt Bug 35032: Remove the use of "onclick" from Koha to MARC mapping template 2023-10-18 10:25:54 -03:00
library_groups.tt Bug 9525: (QA follow-up) Fix QA complaints 2023-10-04 16:40:11 -04:00
localization.tt
marc-overlay-rules.tt Bug 34399: Fix inconsistencies in Record overlay rules page titles, breadcrumbs, and headers 2023-10-17 14:45:27 -03:00
marc_subfields_structure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
marctagstructure.tt Bug 35057: Improve tag description labels in biblio and authority framework editing 2023-10-18 15:43:06 -03:00
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
overdrive.tt
patron-attr-types.tt
preferences.tt Bug 31731: Offer user a dropdown of authorized values instead of a text field in preferences 2023-10-10 10:54:00 -03:00
restrictions.tt Bug 16223: (QA follow-up) Add filter, remove superfluous condition 2023-10-11 12:13:09 -03:00
search_filters.tt
share_content.tt
smart-rules.tt Bug 8367: (follow-up) Fix for circ rules editor 2023-11-01 18:01:37 -03:00
sms_providers.tt
smtp_servers.tt
sru_modmapping.tt Bug 34562: Update more pop-up windows with consistent footer markup 2023-10-09 11:41:25 -03:00
sru_modmapping_auth.tt Bug 34562: Update more pop-up windows with consistent footer markup 2023-10-09 11:41:25 -03:00
systempreferences.tt
transfer_limits.tt
transport-cost-matrix.tt
usage_statistics.tt Bug 35091: Improve translation of usage statistics country list 2023-11-01 17:23:23 -03:00
z3950servers.tt