From 33108344500e0adb60a5cdab368a6ab2fb49b5a1 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 --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 5 +++++ .../prog/en/includes/acquisitions-search.inc | 2 +- .../intranet-tmpl/prog/en/includes/adv-search.inc | 6 +++--- .../prog/en/includes/authorities-search.inc | 18 +++++++++--------- .../prog/en/includes/budgets-admin-search.inc | 2 +- .../intranet-tmpl/prog/en/includes/cat-search.inc | 12 ++++++++---- .../prog/en/includes/cataloging-search.inc | 16 ++++++++++------ .../intranet-tmpl/prog/en/includes/checkin-search.inc | 10 +++++++--- .../intranet-tmpl/prog/en/includes/circ-search.inc | 12 ++++++++---- .../prog/en/includes/cities-admin-search.inc | 12 ++++++++---- .../prog/en/includes/contracts-admin-search.inc | 12 ++++++++---- .../prog/en/includes/currencies-admin-search.inc | 12 ++++++++---- .../prog/en/includes/desks-admin-search.inc | 12 ++++++++---- .../intranet-tmpl/prog/en/includes/home-search.inc | 8 ++++---- .../intranet-tmpl/prog/en/includes/letters-search.inc | 12 ++++++++---- .../prog/en/includes/patron-search-box.inc | 2 +- .../intranet-tmpl/prog/en/includes/patron-search.inc | 18 +++++++++++------- .../prog/en/includes/patrons-admin-search.inc | 12 ++++++++---- .../prog/en/includes/prefs-admin-search.inc | 12 ++++++++---- .../intranet-tmpl/prog/en/includes/search_indexes.inc | 2 +- .../intranet-tmpl/prog/en/includes/serials-search.inc | 8 ++++++-- .../prog/en/includes/suggestions-add-search.inc | 8 ++++++-- .../prog/en/includes/z3950-admin-search.inc | 12 ++++++++---- .../intranet-tmpl/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 %]