2016-09-09 03:40:07 +02:00
|
|
|
<div class="toolbar toolbar--content cms-content-toolbar">
|
2017-04-10 20:02:54 +02:00
|
|
|
<div class="btn-toolbar cms-actions-buttons-row">
|
2017-05-08 07:57:24 +02:00
|
|
|
<a class="btn btn-primary cms-content-addpage-button tool-button font-icon-plus" href="$LinkPageAdd" data-url-addpage="{$LinkPageAdd('', 'ParentID=%s')}"><% _t('SilverStripe\CMS\Controllers\CMSMain.AddNewButton', 'Add new') %></a>
|
2015-06-16 00:49:19 +02:00
|
|
|
|
|
|
|
<% if $View == 'Tree' %>
|
2017-06-20 02:25:24 +02:00
|
|
|
<button type="button" class="cms-content-batchactions-button btn btn-secondary tool-button font-icon-check-mark-2 btn--last" data-toolid="batch-actions">
|
2017-05-08 07:57:24 +02:00
|
|
|
<% _t("SilverStripe\CMS\Controllers\CMSPageHistoryController.MULTISELECT","Batch actions") %>
|
2015-06-16 00:49:19 +02:00
|
|
|
</button>
|
|
|
|
<% end_if %>
|
2017-06-20 02:25:24 +02:00
|
|
|
|
|
|
|
<% include SilverStripe\\CMS\\Controllers\\CMSMain_ViewControls PJAXTarget='Content-PageList' %>
|
2015-06-16 00:49:19 +02:00
|
|
|
</div>
|
|
|
|
|
2017-06-20 02:25:24 +02:00
|
|
|
|
2015-06-16 00:49:19 +02:00
|
|
|
<div class="cms-actions-tools-row">
|
|
|
|
<% if $View == 'Tree' %>
|
|
|
|
<div id="batch-actions" class="cms-content-batchactions-dropdown tool-action">
|
|
|
|
$BatchActionsForm
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
</div>
|