2016-10-21 05:15:34 +02:00
|
|
|
<div class="view-controls">
|
2017-05-08 07:57:24 +02:00
|
|
|
<button id="filters-button" class="btn btn-secondary icon-button font-icon-search btn--icon-large no-text" title="<% _t('SilverStripe\CMS\Controllers\CMSPagesController.FILTER', 'Filter') %>"></button>
|
2016-10-21 05:15:34 +02:00
|
|
|
<div class="icon-button-group">
|
|
|
|
<%-- Change to data-pjax-target="Content-PageList" to enable in-edit listview --%>
|
|
|
|
<a class="cms-panel-link icon-button font-icon-tree page-view-link <% if $ViewState == 'treeview' %>active<% end_if %>"
|
2016-10-26 03:01:13 +02:00
|
|
|
href="$LinkTreeView.ATT"
|
|
|
|
data-view="treeview"
|
|
|
|
data-pjax-target="$PJAXTarget.ATT"
|
2017-05-08 07:57:24 +02:00
|
|
|
title="<% _t('SilverStripe\CMS\Controllers\CMSPagesController.TreeView', 'Tree View') %>"
|
2016-10-21 05:15:34 +02:00
|
|
|
></a><a class="cms-panel-link icon-button font-icon-list page-view-link <% if $ViewState == 'listview' %>active<% end_if %>"
|
2016-10-26 03:01:13 +02:00
|
|
|
href="$LinkListView.ATT"
|
|
|
|
data-view="listview"
|
|
|
|
data-pjax-target="$PJAXTarget.ATT"
|
2017-05-08 07:57:24 +02:00
|
|
|
title="<% _t('SilverStripe\CMS\Controllers\CMSPagesController.ListView', 'List View') %>"
|
2016-10-21 05:15:34 +02:00
|
|
|
></a>
|
|
|
|
</div>
|
|
|
|
</div>
|