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>
[% 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>