From 5bd6dfcc59e5daaf43735f8b3f611bd18a90bd23 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 --- .../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 593c8c3417..c25ee18962 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 c53b35677c..b10983cb22 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 0edf57f6d9..fd91a8576a 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 @@ -352,6 +352,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 572c3c8417..93084ee641 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 @@ -324,4 +324,5 @@ Searching: - - LIBRIS base URL - pref: LibrisURL + class: url - "Please only change this if you are sure it needs changing." -- 2.39.5