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-07-19 01:52:19 +02:00
|
|
|
<% if not $TreeIsFiltered %>
|
2017-05-19 02:11:46 +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
|
|
|
|
2017-07-19 01:52:19 +02:00
|
|
|
<% if $View == 'Tree' %>
|
|
|
|
<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-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\CMS\Controllers\CMSPageHistoryController.MULTISELECT "Batch actions" %>
|
2017-07-19 01:52:19 +02:00
|
|
|
</button>
|
|
|
|
<% end_if %>
|
|
|
|
<% 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>
|