2017-06-20 02:25:24 +02:00
|
|
|
<div class="view-controls view-controls--{$ViewState}">
|
2017-10-16 02:28:46 +02:00
|
|
|
<% if not $TreeIsFiltered %>
|
|
|
|
<%-- Change to data-pjax-target="Content-PageList" to enable in-edit listview --%>
|
|
|
|
<a class="page-view-link btn btn-secondary btn--icon-sm btn--no-text font-icon-tree"
|
|
|
|
href="$LinkTreeView.ATT"
|
|
|
|
data-view="treeview"
|
|
|
|
data-pjax-target="$PJAXTarget.ATT"
|
|
|
|
title="<%t SilverStripe\CMS\Controllers\CMSPagesController.TreeView 'Tree View' %>"
|
|
|
|
></a>
|
2017-12-19 23:54:27 +01:00
|
|
|
|
|
|
|
<a class="page-view-link btn btn-secondary btn--icon-sm btn--no-text font-icon-list"
|
|
|
|
href="$LinkListView.ATT"
|
|
|
|
data-view="listview"
|
|
|
|
data-pjax-target="$PJAXTarget.ATT"
|
|
|
|
title="<%t SilverStripe\CMS\Controllers\CMSPagesController.ListView 'List View' %>"
|
|
|
|
></a>
|
2017-10-16 02:28:46 +02:00
|
|
|
<% end_if %>
|
2016-10-21 05:15:34 +02:00
|
|
|
</div>
|