Merge pull request #2062 from open-sausages/pulls/4/no-view-toggle-when-search

FIX no button view type toggle when searching pages
This commit is contained in:
Chris Joe 2017-12-21 12:25:01 +13:00 committed by GitHub
commit a5160b963c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,12 @@
data-pjax-target="$PJAXTarget.ATT" data-pjax-target="$PJAXTarget.ATT"
title="<%t SilverStripe\CMS\Controllers\CMSPagesController.TreeView 'Tree View' %>" title="<%t SilverStripe\CMS\Controllers\CMSPagesController.TreeView 'Tree View' %>"
></a> ></a>
<% end_if %>
<a class="page-view-link btn btn-secondary btn--icon-sm btn--no-text font-icon-list" <a class="page-view-link btn btn-secondary btn--icon-sm btn--no-text font-icon-list"
href="$LinkListView.ATT" href="$LinkListView.ATT"
data-view="listview" data-view="listview"
data-pjax-target="$PJAXTarget.ATT" data-pjax-target="$PJAXTarget.ATT"
title="<%t SilverStripe\CMS\Controllers\CMSPagesController.ListView 'List View' %>" title="<%t SilverStripe\CMS\Controllers\CMSPagesController.ListView 'List View' %>"
></a> ></a>
<% end_if %>
</div> </div>