From cfb37201db0fbc12b64a51a3fbe5504fb49785f1 Mon Sep 17 00:00:00 2001 From: Didier Gautheron Date: Mon, 28 Nov 2022 08:29:47 +0100 Subject: [PATCH] Bug 32355: Add css class url to URL syspref Add missing css class to URL syspref. To Test: 1 - open admin/preferences.pl 2 - Search for URL 3 - casServerUrl, UsageStatsLibraryUrl, KohaManualBaseURL, PrivacyPolicyURL, LibrisURL input field size are small. 4 - Apply patch 5 - all URL fields have the same bigger size. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit af794a6cfa85d8f3160ddb4c4f626e85063a844c) Signed-off-by: Martin Renvoize (cherry picked from commit 5bd6dfcc59e5daaf43735f8b3f611bd18a90bd23) Signed-off-by: Lucas Gass (cherry picked from commit e6db0d3e07df0c0a434eecca32727b6996c2aad3) Signed-off-by: Arthur Suzuki --- .../intranet-tmpl/prog/en/modules/admin/preferences/admin.pref | 2 ++ .../prog/en/modules/admin/preferences/enhanced_content.pref | 1 + .../prog/en/modules/admin/preferences/patrons.pref | 1 + .../prog/en/modules/admin/preferences/searching.pref | 1 + 4 files changed, 5 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref index 2eab55ae03..2be2a569d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref @@ -156,6 +156,7 @@ Administration: - - "URL of the Central Authentication Service (CAS) server: " - pref: casServerUrl + class: url - - "Version of the CAS server Koha will connect to: " - pref: casServerVersion @@ -431,6 +432,7 @@ Administration: - - "The library URL to be shown on the Hea Community website: " - pref: UsageStatsLibraryUrl + class: url -
NOTE: This value has no effect if the UsageStats system preference is set to "No" (don't share). - - "The library type to be shown on the Hea Community website: " diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref index 33edeb64e5..ee6e1d2d9e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref @@ -418,6 +418,7 @@ Enhanced content: - - Location of the Koha manual - pref: KohaManualBaseURL + class: url - You can specify the location of the Koha manual to use. By default it is https://koha-community.org/manual/ - If starts with '/', the value of staffClientBaseURL will be used as a prefix. - Note that it will be suffixed by the version / the language / the format (/17.11/en/html) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref index e91963661c..787477b7f1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref @@ -333,6 +333,7 @@ Patrons: - - Use the following URL - pref: PrivacyPolicyURL + class: url - to refer to your local privacy policy in messages about privacy and data protection. (If you enforce GDPR policy, make sure that this page is not blocked.) - '
NOTE: The URL will only be displayed if GDPR_Policy is set.' - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref index 735aa56fb1..86b336d7bf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref @@ -292,4 +292,5 @@ Searching: - - LIBRIS base URL - pref: LibrisURL + class: url - "Please only change this if you are sure it needs changing." -- 2.39.5