silverstripe-cms/templates/Includes/CMSPagesController_ContentToolbar.ss
Naomi Guyer 06e184a97f BUG: Add "add new" button to Pages list view (fixes 7649)
Rearranged the templates around CMSPagesController_ContentToolbar and
uncommented the toolbar from the pages list view so the add new button
would be included with including actions that aren't applicable to the
gridfield.

Linked to https://github.com/silverstripe/sapphire/pull/684/commits
2012-10-15 14:59:04 +13:00

19 lines
668 B
Scheme

<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("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("MULTISELECT","Multi-selection") %></label>
</div>
</div>