mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
6aeac37906
ENHANCEMENT Namespaced tree search parameters in CMSMain, in order to detect more reliably if a filter has been applied. Changing page search form to standard pushState behaviour, same as ModelAdmin (for both tree and list view). MINOR Refactored list view loading
27 lines
852 B
Scheme
27 lines
852 B
Scheme
<div class="cms-content-toolbar">
|
|
<% include CMSPagesController_ContentToolbar %>
|
|
</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>
|
|
|
|
<button href="$LinkPages" class="cms-tree-expand-trigger cms-panel-link ss-button" data-icon="pencil">
|
|
<% _t('CMSMain.EditTree', 'Edit Tree') %>
|
|
</button>
|
|
|
|
<div class="center">
|
|
<% if TreeIsFiltered %>
|
|
<div class="cms-tree-filtered">
|
|
<strong><% _t('CMSMain.TreeFiltered', 'Filtered tree.') %></strong>
|
|
<a href="$LinkPages" class="cms-panel-link">
|
|
<% _t('CMSMain.TreeFilteredClear', 'Clear filter') %>
|
|
</a>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<div class="cms-tree" data-url-tree="$Link(getsubtree)" data-url-savetreenode="$Link(savetreenode)" data-hints="$SiteTreeHints">
|
|
$SiteTreeAsUL
|
|
</div>
|
|
</div>
|