mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
18 lines
820 B
Scheme
18 lines
820 B
Scheme
<div class="view-controls view-controls--{$ViewState}">
|
|
<% 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>
|
|
<% end_if %>
|
|
<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>
|
|
</div>
|