Bug 31204: Clearly indicate edit buttons are for record modification

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>
(cherry picked from commit 7ce420ed82)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2022-07-20 16:53:28 +00:00
parent 899898400f
commit eeaeb57f25
1 changed files with 2 additions and 2 deletions

View File

@ -178,10 +178,10 @@
[% 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>