mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #221 from adrexia/add-cms-buttons
BUG: Add "add new" button to Pages list view (fixes 7649)
This commit is contained in:
commit
2f7e6a7303
@ -1,5 +1,5 @@
|
||||
<div class="cms-content-toolbar">
|
||||
<%--<% include CMSPagesController_ContentToolActions %>--%>
|
||||
<% include CMSPagesController_ContentToolActions %>
|
||||
</div>
|
||||
|
||||
<div class="ss-dialog cms-page-add-form-dialog cms-dialog-content" id="cms-page-add-form" title="<% _t('CMSMain.AddNew', 'Add new page') %>">
|
||||
|
@ -1,4 +1,5 @@
|
||||
<div class="cms-content-toolbar">
|
||||
<% include CMSPagesController_ContentToolActions %>
|
||||
<% include CMSPagesController_ContentToolbar %>
|
||||
</div>
|
||||
|
||||
|
@ -2,6 +2,3 @@
|
||||
<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 class="cms-content-batchactions">
|
||||
$BatchActionsForm
|
||||
</div>
|
@ -1,3 +1,7 @@
|
||||
<div class="cms-content-batchactions">
|
||||
$BatchActionsForm
|
||||
</div>
|
||||
|
||||
<div class="cms-tree-view-modes">
|
||||
<span><% _t("TreeTools.DisplayLabel","Display:") %></span>
|
||||
<% if CanOrganiseSitetree %>
|
||||
@ -11,4 +15,4 @@
|
||||
<label for="view-mode-multiselect"><% _t("CMSPagesController_ContentToolbar.ss.MULTISELECT","Multi-selection") %></label>
|
||||
</div>
|
||||
</div>
|
||||
<% include CMSPagesController_ContentToolActions %>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user