mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
20 lines
843 B
Scheme
20 lines
843 B
Scheme
<div class="toolbar toolbar--content cms-content-toolbar">
|
|
<div class="cms-actions-buttons-row">
|
|
<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>
|
|
|
|
<% if $View == 'Tree' %>
|
|
<button type="button" class="cms-content-batchactions-button btn btn-secondary tool-button font-icon-check-mark-2" data-toolid="batch-actions">
|
|
<% _t("SilverStripe\CMS\Controllers\CMSPageHistoryController.MULTISELECT","Batch actions") %>
|
|
</button>
|
|
<% end_if %>
|
|
</div>
|
|
|
|
<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>
|