mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Batch actions UI enhancement (#7878)
This commit is contained in:
parent
f0810dc772
commit
79cc947ed8
@ -1,4 +1,3 @@
|
||||
<div class="cms-actions-row">
|
||||
<a class="cms-page-add-button ss-ui-button ss-ui-action-constructive" data-icon="add" href="$LinkPageAdd" data-url-addpage="{$LinkPageAdd('?ParentID=%s')}"><% _t('CMSMain.AddNewButton', 'Add new') %></a>
|
||||
</div>
|
||||
|
||||
|
@ -1,18 +1,8 @@
|
||||
<div class="cms-content-batchactions">
|
||||
<div class="view-mode-batchactions-wrapper">
|
||||
<input id="view-mode-batchactions" name="view-mode-batchactions" type="checkbox" />
|
||||
<label for="view-mode-batchactions"><% _t("CMSPagesController_ContentToolbar.ss.MULTISELECT","Multi-selection") %></label>
|
||||
</div>
|
||||
|
||||
$BatchActionsForm
|
||||
</div>
|
||||
|
||||
<div class="cms-tree-view-modes">
|
||||
<span><% _t("TreeTools.DisplayLabel","Display:") %></span>
|
||||
<% if CanOrganiseSitetree %>
|
||||
<div class="checkboxAboveTree">
|
||||
<input type="radio" name="view-mode" class="view-mode" value="draggable" id="view-mode-draggable" checked="checked" />
|
||||
<label for="view-mode-draggable"><% _t("CMSPagesController_ContentToolbar.ss.ENABLEDRAGGING","Drag'n'drop") %></label>
|
||||
</div>
|
||||
<% end_if %>
|
||||
<div>
|
||||
<input type="radio" name="view-mode" class="view-mode" value="multiselect" id="view-mode-multiselect" />
|
||||
<label for="view-mode-multiselect"><% _t("CMSPagesController_ContentToolbar.ss.MULTISELECT","Multi-selection") %></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user