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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-10 / +15 lines)
Lines 1057-1066 Link Here
1057
                                    <div id="toolbar" class="btn-toolbar">
1057
                                    <div id="toolbar" class="btn-toolbar">
1058
                                        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) %]
1058
                                        [% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) %]
1059
                                            <div class="btn-group">
1059
                                            <div class="btn-group">
1060
                                                <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1060
                                                [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_edit_patrons ) %]
1061
                                                    Batch operations with [% IF unlimited_total >= limit %][% results.size | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1061
                                                    <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
1062
                                                    <span class="caret"></span>
1062
                                                [% ELSE %]
1063
                                                </button>
1063
                                                    <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" disabled>
1064
                                                [% END %]
1065
                                                        Batch operations with [% IF unlimited_total >= limit %][% results.size | html %][% ELSE %][% unlimited_total | html %][% END %] visible records
1066
                                                        <span class="caret"></span>
1067
                                                    </button>
1064
                                                <ul class="dropdown-menu" aria-labelledby="batch_mod_menu">
1068
                                                <ul class="dropdown-menu" aria-labelledby="batch_mod_menu">
1065
                                                    [% FOREACH header_ro IN header_row %]
1069
                                                    [% FOREACH header_ro IN header_row %]
1066
                                                        [% IF header_ro.cell == 'cardnumber' || header_types.item( header_ro.cell ) == 'cardnumber' || header_ro.cell == 'borrowernumber' || header_types.item( header_ro.cell ) == 'borrowernumber' %]
1070
                                                        [% IF header_ro.cell == 'cardnumber' || header_types.item( header_ro.cell ) == 'cardnumber' || header_ro.cell == 'borrowernumber' || header_types.item( header_ro.cell ) == 'borrowernumber' %]
Lines 1074-1085 Link Here
1074
                                                    [% END %]
1078
                                                    [% END %]
1075
                                                    [% IF show_cardnumber_ops || show_borrowernumber_ops %]
1079
                                                    [% IF show_cardnumber_ops || show_borrowernumber_ops %]
1076
                                                        <li class="dropdown-header">Patron records</li>
1080
                                                        <li class="dropdown-header">Patron records</li>
1077
                                                        [% IF show_cardnumber_ops || show_borrowernumber_ops %]
1081
                                                        [% IF ( show_cardnumber_ops || show_borrowernumber_ops ) && CAN_user_tools_edit_patrons %]
1078
                                                            <li>
1082
                                                            <li>
1079
                                                                <a href="#" data-submit="batch_patron_modification" data-toggle="tooltip" data-placement="right" title="Send visible results to batch patron modification" class="batch_op send_to_patron_mod">Batch patron modification</a>
1083
                                                                <a href="#" data-submit="batch_patron_modification" data-toggle="tooltip" data-placement="right" title="Send visible results to batch patron modification" class="batch_op send_to_patron_mod">Batch patron modification</a>
1080
                                                            </li>
1084
                                                            </li>
1081
                                                        [% END %]
1085
                                                        [% END %]
1082
                                                        [% IF show_borrowernumber_ops %]
1086
                                                        [% IF show_borrowernumber_ops && CAN_user_tools_edit_patrons %]
1083
                                                            <li>
1087
                                                            <li>
1084
                                                                <a href="#" data-submit="patron_card_creator" data-toggle="tooltip" data-placement="right" title="Send visible results to a new patron card batch" class="batch_op send_to_patron_card_batch">Patron card creator</a>
1088
                                                                <a href="#" data-submit="patron_card_creator" data-toggle="tooltip" data-placement="right" title="Send visible results to a new patron card batch" class="batch_op send_to_patron_card_batch">Patron card creator</a>
1085
                                                            </li>
1089
                                                            </li>
Lines 1102-1108 Link Here
1102
                                                        [% END %]
1106
                                                        [% END %]
1103
                                                        [% IF header_ro.has_itemnumbers && ( header_ro.cell == 'itemnumber' || header_types.item( header_ro.cell ) == 'itemnumber' ) %]
1107
                                                        [% IF header_ro.has_itemnumbers && ( header_ro.cell == 'itemnumber' || header_types.item( header_ro.cell ) == 'itemnumber' ) %]
1104
                                                                [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) %]
1108
                                                                [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) %]
1105
                                                                    <li class="dropdown-header">Item records</li>  
1109
                                                                    <li class="dropdown-header">Item records</li>
1106
                                                                    <li>
1110
                                                                    <li>
1107
                                                                        <a href="#" data-submit="batch_item_modification" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item modification" class="batch_op send_to_item_mod">Batch item modification</a>
1111
                                                                        <a href="#" data-submit="batch_item_modification" data-toggle="tooltip" data-placement="right" title="Send visible items to batch item modification" class="batch_op send_to_item_mod">Batch item modification</a>
1108
                                                                    </li>
1112
                                                                    </li>
Lines 1218-1225 Link Here
1218
                                                            <ul class="dropdown-menu pull-right" role="menu">
1222
                                                            <ul class="dropdown-menu pull-right" role="menu">
1219
                                                                <li><a target="_blank" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa-solid fa-eye"></i> View patron</a></li>
1223
                                                                <li><a target="_blank" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa-solid fa-eye"></i> View patron</a></li>
1220
                                                                <li role="separator" class="divider"></li>
1224
                                                                <li role="separator" class="divider"></li>
1221
                                                                <li><a target="_blank" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&amp;borrowernumber=[% cells.cell | $raw %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit patron</a></li>
1225
                                                                [% IF CAN_user_borrowers_edit_borrowers %]
1222
                                                                <li role="separator" class="divider"></li>
1226
                                                                    <li><a target="_blank" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&amp;borrowernumber=[% cells.cell | $raw %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit patron</a></li>
1227
                                                                    <li role="separator" class="divider"></li>
1228
                                                                [% END # /IF CAN_user_borrowers_edit_borrowers %]
1223
                                                                <li><a target="_blank" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1229
                                                                <li><a target="_blank" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% cells.cell | $raw %]"><i class="fa fa-barcode"></i> Check out</a></li>
1224
                                                            </ul>
1230
                                                            </ul>
1225
                                                        </div>
1231
                                                        </div>
1226
- 

Return to bug 35905