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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-1 / +1 lines)
Lines 4387-4393 span { Link Here
4387
}
4387
}
4388
4388
4389
.permission-highlight {
4389
.permission-highlight {
4390
    background-color: #FFC;
4390
    background-color: #FFC !important;
4391
}
4391
}
4392
4392
4393
.togglechildren_on,
4393
.togglechildren_on,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt (-1 / +14 lines)
Lines 31-36 Link Here
31
        <div id="permissions_toolbar" class="btn-toolbar">
31
        <div id="permissions_toolbar" class="btn-toolbar">
32
            <button type="submit" class="btn btn-sm btn-default"><i class="fa fa-save"></i> Save</button>
32
            <button type="submit" class="btn btn-sm btn-default"><i class="fa fa-save"></i> Save</button>
33
            <a class="btn btn-sm btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a>
33
            <a class="btn btn-sm btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a>
34
            <a class="toggleall toggleall_on btn btn-link" href="#"><i class="fa fa-plus-square-o"></i> Show all</a>
35
            <a class="toggleall toggleall_off btn btn-link" href="#"><i class="fa fa-minus-square-o"></i> Hide all</a>
34
            <div class="btn-group pull-right">
36
            <div class="btn-group pull-right">
35
                Filter: <input type="text" name="permissions_filter" id="permissions_filter" size="20" />
37
                Filter: <input type="text" name="permissions_filter" id="permissions_filter" size="20" />
36
                <a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a>
38
                <a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a>
Lines 166-171 Link Here
166
                }
168
                }
167
            });
169
            });
168
170
171
172
            $(".toggleall_off, .toggleall_on").on('click', function(e) {
173
                e.preventDefault();
174
                if( $(this).hasClass("toggleall_on")){
175
                    $(".children,.togglechildren_off").show();
176
                    $(".togglechildren_on").hide();
177
                } else {
178
                    $(".children,.togglechildren_off").hide();
179
                    $(".togglechildren_on").show();
180
                }
181
            });
182
169
            $(".togglechildren_off, .togglechildren_on").on('click', function(e) {
183
            $(".togglechildren_off, .togglechildren_on").on('click', function(e) {
170
                e.preventDefault();
184
                e.preventDefault();
171
                var bit = $(this).data("bit");
185
                var bit = $(this).data("bit");
172
- 

Return to bug 11375