View | Details | Raw Unified | Return to bug 23689
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-6 / +10 lines)
Lines 215-221 Link Here
215
        <th>Description</th>
215
        <th>Description</th>
216
        <th>Description (OPAC)</th>
216
        <th>Description (OPAC)</th>
217
        <th>Icon</th>
217
        <th>Icon</th>
218
        <th>Branches limitations</th>
218
        <th>Library limitations</th>
219
        <th>Actions</th>
219
        <th>Actions</th>
220
        </tr>
220
        </tr>
221
    </thead><tbody>
221
    </thead><tbody>
Lines 229-241 Link Here
229
            [% IF loo.branches.size > 0 %]
229
            [% IF loo.branches.size > 0 %]
230
                [% branches_str = "" %]
230
                [% branches_str = "" %]
231
                [% FOREACH branch IN loo.branches %]
231
                [% FOREACH branch IN loo.branches %]
232
                    [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
232
                    [%- IF loop.first -%]
233
                    [% branches_str = branch.branchname _ " (" _ branch.branchcode _ ")" %]
234
                    [% ELSE %]
235
                    [% branches_str = branches_str _ "\n" _ branch.branchname _ " (" _ branch.branchcode _ ")" %]
236
                    [% END %]
233
                [% END %]
237
                [% END %]
234
                <span href="#" title="[% branches_str | html %]">
238
                <span class="library_limitation" title="[% branches_str | html %]">
235
                    [% IF loo.branches.size > 1 %]
239
                    [% IF loo.branches.size > 1 %]
236
                        [% loo.branches.size | html %] branches limitations
240
                        [% loo.branches.size | html %] library limitations
237
                    [% ELSE %]
241
                    [% ELSE %]
238
                        [% loo.branches.size | html %] branch limitation
242
                        [% loo.branches.size | html %] library limitation
239
                    [% END %]
243
                    [% END %]
240
            [% ELSE %]
244
            [% ELSE %]
241
                No limitation
245
                No limitation
Lines 320-325 Link Here
320
            $('#searchfield').change(function() {
324
            $('#searchfield').change(function() {
321
                $('#category').submit();
325
                $('#category').submit();
322
            });
326
            });
327
            $(".library_limitation").tooltip();
323
        });
328
        });
324
    </script>
329
    </script>
325
[% END %]
330
[% END %]
326
- 

Return to bug 23689