@@ -, +, @@
accessibility
---
.../prog/css/src/staff-global.scss | 10 ++-
.../prog/en/includes/patron-search.inc | 88 +++++++++++--------
2 files changed, 58 insertions(+), 40 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
+++ a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
@@ -239,7 +239,7 @@ aside {
label {
color: #696969;
display: block;
- margin: .5em 0 0 0;
+ margin: .5em 0;
}
li {
@@ -1028,7 +1028,6 @@ fieldset {
span.label {
display: block;
font-weight: bold;
- padding: .3em 0;
text-align: left;
&.inline {
@@ -1037,6 +1036,13 @@ fieldset {
margin-left: 1em;
width: auto;
}
+
+ input,
+ select,
+ .select2-container {
+ display: block;
+ margin-top: .5em;
+ }
}
li {
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
@@ -35,44 +35,54 @@
Search for patron
- Search:
-
+
+ Search:
+
+
[% FOR f IN filters %]
[% SWITCH f %]
[% CASE 'branch' %]
- Library:
-
- [% SET libraries = Branches.all( only_from_group => 1 ) %]
- [% IF libraries.size != 1 %]
- Any
- [% END %]
- [% FOREACH l IN libraries %]
- [% l.branchname | html %]
- [% END %]
-
+
+ Library:
+
+ [% SET libraries = Branches.all( only_from_group => 1 ) %]
+ [% IF libraries.size != 1 %]
+ Any
+ [% END %]
+ [% FOREACH l IN libraries %]
+ [% l.branchname | html %]
+ [% END %]
+
+
[% CASE 'category' %]
- Category:
-
- Any
- [% FOREACH category IN Categories.limited.unblessed %]
- [% category.description | html %]
- [% END %]
-
+
+ Category:
+
+ Any
+ [% FOREACH category IN Categories.limited.unblessed %]
+ [% category.description | html %]
+ [% END %]
+
+
[% CASE 'sort1' %]
- Sort 1:
- [% PROCESS 'av-build-dropbox.inc' no_id => 1, name="sort1_filter", category="Bsort1", empty=1, size = 20 %]
+
+ Sort 1:
+ [% PROCESS 'av-build-dropbox.inc' no_id => 1, name="sort1_filter", category="Bsort1", empty=1, size = 20 %]
+
[% CASE 'sort2' %]
- Sort 2:
- [% PROCESS 'av-build-dropbox.inc' no_id => 1, name="sort2_filter", category="Bsort2", empty=1, size = 20 %]
+
+ Sort 2:
+ [% PROCESS 'av-build-dropbox.inc' no_id => 1, name="sort2_filter", category="Bsort2", empty=1, size = 20 %]
+
[% CASE 'search_field' %]
@@ -80,23 +90,25 @@
[% CASE 'search_type' %]
- Search type:
-
- [% IF searchtype == "starts_with" %]
- Starts with
- Contains
- [% ELSE %]
- Starts with
- Contains
- [% END %]
-
+
+ Search type:
+
+ [% IF searchtype == "starts_with" %]
+ Starts with
+ Contains
+ [% ELSE %]
+ Starts with
+ Contains
+ [% END %]
+
+
[% END %]
[% END %]
-
+
@@ -118,13 +130,13 @@
[% END %]
[% IF filter == 'suggestions_managers' %]
- Only staff with superlibrarian or suggestions_manage permissions are returned in the search results
+ Only staff with superlibrarian or suggestions_manage permissions are returned in the search results
[% ELSIF filter == 'orders_managers' OR filter == 'baskets_managers' %]
- Only staff with superlibrarian or acquisitions permissions (or order_manage permission if granular permissions are enabled) are returned in the search results
+ Only staff with superlibrarian or acquisitions permissions (or order_manage permission if granular permissions are enabled) are returned in the search results
[% ELSIF filter == 'funds_owners' OR filter == 'funds_users' %]
- Only staff with superlibrarian or acquisitions permissions (or budget_modify permission if granular permissions are enabled) are returned in the search results
+ Only staff with superlibrarian or acquisitions permissions (or budget_modify permission if granular permissions are enabled) are returned in the search results
[% ELSIF filter == 'erm_users' %]
- Only staff with superlibrarian or ERM permissions are returned in the search results
+ Only staff with superlibrarian or ERM permissions are returned in the search results
[% END %]
--