mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
06e184a97f
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
22 lines
649 B
Scheme
22 lines
649 B
Scheme
<div class="cms-content-toolbar">
|
|
<% 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') %>">
|
|
$AddForm
|
|
</div>
|
|
|
|
<div class="cms-panel-content center">
|
|
<% if TreeIsFiltered %>
|
|
<div class="cms-tree-filtered">
|
|
<strong><% _t('CMSMain.ListFiltered', 'Filtered list.') %></strong>
|
|
<a href="$LinkPages" class="cms-panel-link">
|
|
<% _t('CMSMain.TreeFilteredClear', 'Clear filter') %>
|
|
</a>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<div class="cms-list" data-url-list="$Link(getListViewHTML)">
|
|
$ListViewForm
|
|
</div>
|
|
</div> |