From 1001a09859f28be8216941fa979261f1914b91ff Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 8 Jul 2020 13:40:37 +0000 Subject: [PATCH] Bug 25954: Replace paragraph tags with labels in header search forms This patch replaces instances of

with

is kept. To test, apply the patch and rebuild the staff client CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) Test the header search forms on the following pages: - Staff interface home page - Acquisitions home - Acquisitions -> Vendor -> Contracts - Acquisitions -> Vendor -> Add to basket -> From a suggestion - Advanced catalog search - Authorities - Administration - Administration -> Funds - Administration -> Desks (UseCirculationDesks must be enabled) - Administration -> Cities and towns - Administration -> Currencies and exchange rates - Administration -> Patron categories - Administration -> Z39.50/SRU servers - Catalog -> Search results - Cataloging - Circulation - Circulation -> Check in - Patrons - Serials - Tools -> Notices and Slips In each case, check that the search form labels work as expected to move focus to the corresponding form field. Signed-off-by: Martin Renvoize Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 38bc9eb2a8c01c8625b1c33c7e098cd0022b2710) Signed-off-by: Fridolin Somers --- .../prog/css/src/staff-global.scss | 5 +++++ .../prog/en/includes/acquisitions-search.inc | 2 +- .../prog/en/includes/adv-search.inc | 6 +++--- .../prog/en/includes/authorities-search.inc | 18 +++++++++--------- .../prog/en/includes/budgets-admin-search.inc | 2 +- .../prog/en/includes/cat-search.inc | 12 ++++++++---- .../prog/en/includes/cataloging-search.inc | 16 ++++++++++------ .../prog/en/includes/checkin-search.inc | 10 +++++++--- .../prog/en/includes/circ-search.inc | 12 ++++++++---- .../prog/en/includes/cities-admin-search.inc | 12 ++++++++---- .../en/includes/contracts-admin-search.inc | 12 ++++++++---- .../en/includes/currencies-admin-search.inc | 12 ++++++++---- .../prog/en/includes/desks-admin-search.inc | 12 ++++++++---- .../prog/en/includes/home-search.inc | 8 ++++---- .../prog/en/includes/letters-search.inc | 12 ++++++++---- .../prog/en/includes/patron-search-box.inc | 2 +- .../prog/en/includes/patron-search.inc | 18 +++++++++++------- .../prog/en/includes/patrons-admin-search.inc | 12 ++++++++---- .../prog/en/includes/prefs-admin-search.inc | 12 ++++++++---- .../prog/en/includes/search_indexes.inc | 2 +- .../prog/en/includes/serials-search.inc | 8 ++++++-- .../en/includes/suggestions-add-search.inc | 8 ++++++-- .../prog/en/includes/z3950-admin-search.inc | 12 ++++++++---- .../prog/en/modules/admin/authtypes.tt | 2 +- 24 files changed, 146 insertions(+), 81 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 4b243ca1e9..fab1dc936d 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -3281,6 +3281,11 @@ label { margin-left: 20px; padding-left: 0; } + + &.tip { + display: block; + margin: .5em 0; + } } .radio { diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc index 220e0e18fb..22bcc14b43 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc @@ -2,7 +2,7 @@

[% LibraryName | html %]