Browse Source

Bug 23689: Fix terminology for branches limitations on authorized values

This patch corrects the terminology and also updates the tooltip to use
the current bootstrap tooltip library.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
remotes/origin/19.11.x
Martin Renvoize 5 years ago
parent
commit
47c2e21587
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 15
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

15
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt

@ -215,7 +215,7 @@
<th>Description</th>
<th>Description (OPAC)</th>
<th>Icon</th>
<th>Branches limitations</th>
<th>Library limitations</th>
<th>Actions</th>
</tr>
</thead><tbody>
@ -229,13 +229,17 @@
[% IF loo.branches.size > 0 %]
[% branches_str = "" %]
[% FOREACH branch IN loo.branches %]
[% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
[%- IF loop.first -%]
[% branches_str = branch.branchname _ " (" _ branch.branchcode _ ")" %]
[% ELSE %]
[% branches_str = branches_str _ "\n" _ branch.branchname _ " (" _ branch.branchcode _ ")" %]
[% END %]
[% END %]
<span href="#" title="[% branches_str | html %]">
<span class="library_limitation" title="[% branches_str | html %]">
[% IF loo.branches.size > 1 %]
[% loo.branches.size | html %] branches limitations
[% loo.branches.size | html %] library limitations
[% ELSE %]
[% loo.branches.size | html %] branch limitation
[% loo.branches.size | html %] library limitation
[% END %]
[% ELSE %]
No limitation
@ -320,6 +324,7 @@
$('#searchfield').change(function() {
$('#category').submit();
});
$(".library_limitation").tooltip();
});
</script>
[% END %]

Loading…
Cancel
Save