From 8bd6620d08dac540b1ebde0534c39df59dec05f2 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 30 Jul 2012 09:44:17 -0400 Subject: [PATCH 1/1] TPAC advanced search org unit selector Make the advanced search org selector a bit more i18n and accessibility friendly by giving the fields an explicit label. We shouldn't really build strings out of individual parts like "in" out of context, because the translators won't know what "in" refers to; and the label elements help guide screen readers. Signed-off-by: Dan Scott Signed-off-by: Kathy Lussier --- .../templates/opac/parts/advanced/expert.tt2 | 26 +++++++++++-------- .../templates/opac/parts/advanced/numeric.tt2 | 11 +++++--- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 b/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 index 09176c2450..b5abd34adb 100644 --- a/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/expert.tt2 @@ -19,20 +19,24 @@ - [ [% l("Add row") %] ] - + [ [% l("Add row") %] ] - [% PROCESS "opac/parts/org_selector.tt2"; - l("in"); INCLUDE build_org_selector show_loc_groups=1 %] - - - - - + + + + + + + + diff --git a/Open-ILS/src/templates/opac/parts/advanced/numeric.tt2 b/Open-ILS/src/templates/opac/parts/advanced/numeric.tt2 index c685aaf967..819fd79721 100644 --- a/Open-ILS/src/templates/opac/parts/advanced/numeric.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/numeric.tt2 @@ -4,7 +4,7 @@ - - + + -- 2.43.2
+ +