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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-6 / +13 lines)
Lines 53-66 Link Here
53
53
54
54
55
  <div id="transferlimit_tabs" class="toptabs">
55
  <div id="transferlimit_tabs" class="toptabs">
56
    <ul class="ui-tabs-nav">
56
    <ul class="nav nav-tabs" role="tablist">
57
      [% FOREACH codes_loo IN codes_loop %]<li><a href="#[% codes_loo.code | uri %]set">[% codes_loo.code | html %]</a></li>[% END %]
57
        [% FOREACH codes_loo IN codes_loop %]
58
            <li role="presentation">
59
                <a href="#[% codes_loo.code | uri %]set" aria-controls="[% codes_loo.code | uri %]set" role="tab" data-toggle="tab">[% codes_loo.code | html %]</a>
60
            </li>
61
        [% END %]
58
    </ul>
62
    </ul>
59
60
        <form method="post" action="branch_transfer_limits.pl">
63
        <form method="post" action="branch_transfer_limits.pl">
64
    <div class="tab-content">
61
65
62
    [% FOREACH codes_loo IN codes_loop %]
66
    [% FOREACH codes_loo IN codes_loop %]
63
    <div id="[% codes_loo.code | html %]set">
67
    <div role="tabpanel" class="tab-pane" id="[% codes_loo.code | html %]set">
64
    <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4>
68
    <h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4>
65
69
66
    <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
70
    <p><a id="CheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" data-cb="[% codes_loo.code | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
Lines 90-95 Link Here
90
        </table>
94
        </table>
91
        </div>
95
        </div>
92
                [% END %]
96
                [% END %]
97
        </div>
93
98
94
        <fieldset class="action">
99
        <fieldset class="action">
95
            <input type="hidden" name="updateLimits" value="1" />
100
            <input type="hidden" name="updateLimits" value="1" />
Lines 128-134 Link Here
128
                    $(this).prop("checked", false);
133
                    $(this).prop("checked", false);
129
                });
134
                });
130
            });
135
            });
131
            $('#transferlimit_tabs').tabs();
136
137
            if( $(".tab-pane.active").length < 1 ){
138
                  $("#transferlimit_tabs a:first").tab("show");
139
            }
132
140
133
             $('#branchselect').change(function() {
141
             $('#branchselect').change(function() {
134
                $('#selectlibrary').submit();
142
                $('#selectlibrary').submit();
135
- 

Return to bug 30417