silverstripe-cms/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_ListView.ss

26 lines
854 B
Scheme
Raw Normal View History

<% include SilverStripe\\CMS\\Controllers\\CMSPagesController_ContentToolActions %>
2017-05-08 07:57:24 +02:00
<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 %>
2015-08-24 04:59:41 +02:00
<div class="cms-notice cms-tree-filtered">
2017-05-08 07:57:24 +02:00
<strong><% _t('SilverStripe\CMS\Controllers\CMSMain.ListFiltered', 'Showing search results.') %></strong>
<a href="$LinkPages.ATT" class="cms-panel-link">
2017-05-08 07:57:24 +02:00
<% _t('SilverStripe\CMS\Controllers\CMSMain.TreeFilteredClear', 'Clear') %>
</a>
2015-08-24 04:59:41 +02:00
<div class="cms-list" data-url-list="$Link(getListViewHTML)">
$ListViewForm
</div>
</div>
2015-08-24 04:59:41 +02:00
<% else %>
<div class="cms-list" data-url-list="$Link('getListViewHTML').ATT">
$ListViewForm
</div>
2015-08-24 04:59:41 +02:00
<% end_if %>
</div>