moved cms-tree-filtered up with flexbox-area-grow

This commit is contained in:
Christopher Joe 2016-10-26 10:43:34 +13:00
parent 6762f43511
commit 57fb0e0b33

View File

@ -6,31 +6,12 @@
$ExtraTreeTools $ExtraTreeTools
<div class="flexbox-area-grow"> <% if $TreeIsFiltered %>
<% if $TreeIsFiltered %> <div class="cms-tree-filtered cms-notice flexbox-area-grow">
<div class="cms-tree-filtered cms-notice"> <strong><% _t('CMSMain.TreeFiltered', 'Showing search results.') %></strong>
<strong><% _t('CMSMain.TreeFiltered', 'Showing search results.') %></strong> <a href="javascript:void(0)" class="clear-filter">
<a href="javascript:void(0)" class="clear-filter"> <% _t('CMSMain.TreeFilteredClear', 'Clear') %>
<% _t('CMSMain.TreeFilteredClear', 'Clear') %> </a>
</a>
<div class="cms-tree <% if $TreeIsFiltered %>filtered-list<% end_if %>"
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
data-url-savetreenode="$Link(savetreenode).ATT"
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&amp;PageType=%s').ATT}"
data-url-editpage="$LinkPageEdit('%s').ATT"
data-url-duplicate="{$Link('duplicate/%s').ATT}"
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
data-url-listview="{$Link('?view=list').ATT}"
data-hints="$SiteTreeHints.ATT"
data-childfilter="$Link('childfilter').ATT"
data-extra-params="SecurityID=$SecurityID.ATT">
$SiteTreeAsUL
</div>
</div>
<% else %>
<div class="cms-tree <% if $TreeIsFiltered %>filtered-list<% end_if %>" <div class="cms-tree <% if $TreeIsFiltered %>filtered-list<% end_if %>"
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT" data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
@ -46,6 +27,23 @@ $ExtraTreeTools
data-extra-params="SecurityID=$SecurityID.ATT"> data-extra-params="SecurityID=$SecurityID.ATT">
$SiteTreeAsUL $SiteTreeAsUL
</div> </div>
<% end_if %>
</div> </div>
<% else %>
<div class="cms-tree flexbox-area-grow <% if $TreeIsFiltered %>filtered-list<% end_if %>"
data-url-tree="$LinkWithSearch($Link(getsubtree)).ATT"
data-url-savetreenode="$Link(savetreenode).ATT"
data-url-updatetreenodes="$Link(updatetreenodes).ATT"
data-url-addpage="{$LinkPageAdd('AddForm/?action_doAdd=1', 'ParentID=%s&amp;PageType=%s').ATT}"
data-url-editpage="$LinkPageEdit('%s').ATT"
data-url-duplicate="{$Link('duplicate/%s').ATT}"
data-url-duplicatewithchildren="{$Link('duplicatewithchildren/%s').ATT}"
data-url-listview="{$Link('?view=list').ATT}"
data-hints="$SiteTreeHints.ATT"
data-childfilter="$Link('childfilter').ATT"
data-extra-params="SecurityID=$SecurityID.ATT">
$SiteTreeAsUL
</div>
<% end_if %>