Bug 31204: Clearly indicate edit buttons are for record modification
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 20 Jul 2022 16:53:28 +0000 (16:53 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 17:47:18 +0000 (14:47 -0300)
To test:
1. Apply patch
2. Do a search and select some records
3. On the toolbar (#selection_ops) open the Edit dropdown.
4. The labels should read 'Batch edit records' and 'Batch delete records'.

Note: To see both you must have batchmod and batchdelete permission.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt

index 9e90d7e4fb0375649ea172881f5f5c54053909b3..e9e40c35b092b418233fa3702b183bb6a68cb07c 100644 (file)
                                     [% IF ( CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_editcatalogue_edit_catalogue ) %]
                                     <ul class="dropdown-menu">
                                         [% IF ( CAN_user_tools_records_batchmod ) %]
-                                        <li><a class="results_batch_op" data-op="edit" href="#">Batch edit</a></li>
+                                        <li><a class="results_batch_op" data-op="edit" href="#">Batch edit records</a></li>
                                         [% END %]
                                         [% IF ( CAN_user_tools_records_batchdel ) %]
-                                        <li><a class="results_batch_op" data-op="delete" href="#">Batch delete</a></li>
+                                        <li><a class="results_batch_op" data-op="delete" href="#">Batch delete records</a></li>
                                         [% END %]
                                         <li><a class="results_batch_op" data-op="merge" href="#">Merge records</a></li>
                                     </ul>