silverstripe-cms/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_ListView.ss
2017-05-08 17:57:24 +12:00

26 lines
854 B
Scheme

<% include SilverStripe\\CMS\\Controllers\\CMSPagesController_ContentToolActions %>
<div class="ss-dialog cms-page-add-form-dialog cms-dialog-content" id="cms-page-add-form" title="<% _t('SilverStripe\CMS\Controllers\CMSMain.AddNew', 'Add new page') %>">
$AddForm
</div>
<div class="cms-panel-content center">
<% if $TreeIsFiltered %>
<div class="cms-notice cms-tree-filtered">
<strong><% _t('SilverStripe\CMS\Controllers\CMSMain.ListFiltered', 'Showing search results.') %></strong>
<a href="$LinkPages.ATT" class="cms-panel-link">
<% _t('SilverStripe\CMS\Controllers\CMSMain.TreeFilteredClear', 'Clear') %>
</a>
<div class="cms-list" data-url-list="$Link(getListViewHTML)">
$ListViewForm
</div>
</div>
<% else %>
<div class="cms-list" data-url-list="$Link('getListViewHTML').ATT">
$ListViewForm
</div>
<% end_if %>
</div>