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

15 lines
656 B
Scheme
Raw Normal View History

2017-12-06 05:06:15 +01:00
<div
class="panel panel--padded panel--scrollable flexbox-area-grow fill-height flexbox-display cms-content-view cms-tree-view-sidebar cms-panel-deferred"
data-url="$LinkTreeViewDeferred"
data-url-treeview="$LinkTreeViewDeferred"
data-url-listview="$LinkListViewDeferred"
2017-12-07 04:24:01 +01:00
data-url-listviewroot="$LinkListViewRoot"
data-no-ajax="<% if $TreeIsFiltered || $RequestViewState = 'listview'%>true<% else %>false<% end_if %>"
2017-12-06 05:06:15 +01:00
>
2017-12-07 04:24:01 +01:00
<% if $TreeIsFiltered || $RequestViewState = 'listview' %>
<% include SilverStripe\\CMS\\Controllers\\CMSMain_ListView %>
<% else %>
<%-- Lazy-loaded via ajax --%>
<% end_if %>
2017-12-06 05:06:15 +01:00
</div>