Browse files

Batch actions UI enhancement (#7878)

  • Loading branch information...
1 parent f0810dc commit 79cc947ed80a9809086df0552bf89581c31f7ec2 @phalkunz phalkunz committed with chillu Oct 12, 2012
View
3 templates/Includes/CMSPagesController_ContentToolActions.ss
@@ -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>
-
+</div>
View
20 templates/Includes/CMSPagesController_ContentToolbar.ss
@@ -1,18 +1,8 @@
<div class="cms-content-batchactions">
- $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 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>
-</div>
+ $BatchActionsForm
+</div>

0 comments on commit 79cc947

Please sign in to comment.