layouts/basic/modules/RecycleBin/ListViewHeader.tpl
{*<!-- {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*}
{strip}
<div class="tpl-RecycleBin-ListViewHeader listViewPageDiv">
<div class="listViewTopMenuDiv noprint">
<div class="listViewActionsDiv row">
<div class="col-12 d-inline-flex flex-wrap">
<div class="c-list__buttons d-flex flex-wrap flex-sm-nowrap u-w-sm-down-100">
{assign var=LINKS value=[]}
{if !empty($LISTVIEW_MASSACTIONS)}
{assign var=LINKS value=$LISTVIEW_MASSACTIONS}
{/if}
{if isset($LISTVIEW_LINKS['LISTVIEW'])}
{assign var=LINKS value=array_merge($LINKS,$LISTVIEW_LINKS['LISTVIEW'])}
{/if}
{include file=\App\Layout::getTemplatePath('ButtonViewLinks.tpl') LINKS=$LINKS TEXT_HOLDER='LBL_ACTIONS' BTN_ICON='fa fa-list' CLASS='listViewMassActions mr-sm-1 mb-1 mb-sm-0 c-btn-block-sm-down'}
{if !empty($LISTVIEW_LINKS)}
{foreach item=LINK from=$LISTVIEW_LINKS['LISTVIEWBASIC']}
{include file=\App\Layout::getTemplatePath('ButtonLink.tpl', $MODULE_NAME) BUTTON_VIEW='listView' CLASS='mr-sm-1 mb-1 c-btn-block-sm-down'}
{/foreach}
{/if}
</div>
<div class="customFilterMainSpan ml-auto mx-xl-auto">
{if $MODULE_LIST|@count gt 0}
<select class="select2 form-control js-source-module" id="moduleFilter" data-js="value">
{foreach item=MODULEMODEL from=$MODULE_LIST}
<option value="{$MODULEMODEL['name']}"
{if $SOURCE_MODULE eq $MODULEMODEL['name']}selected="" {/if}>
{\App\Language::translate($MODULEMODEL['name'],$MODULEMODEL['name'])}
</option>
{/foreach}
</select>
{/if}
</div>
<div class="c-list__right-container d-flex flex-nowrap u-overflow-scroll-xs-down">
{if (method_exists($MODULE_MODEL,'isPagingSupported') && ($MODULE_MODEL->isPagingSupported() eq true)) || !method_exists($MODULE_MODEL,'isPagingSupported')}
<div class="paginationDiv">
{include file=\App\Layout::getTemplatePath('Pagination.tpl', $MODULE_NAME)}
</div>
<input type="hidden" id="recordsCount" value="" />
<input type="hidden" id="selectedIds" name="selectedIds" />
<input type="hidden" id="excludedIds" name="excludedIds" />
{/if}
</div>
</div>
</div>
</div>
<div id="selectAllMsgDiv" class="alert-block msgDiv noprint">
<strong><a id="selectAllMsg" href="#">{\App\Language::translate('LBL_SELECT_ALL',$MODULE_NAME)}
{\App\Language::translate($MODULE_NAME ,$MODULE_NAME)}
(<span id="totalRecordsCount"></span>)</a></strong>
</div>
<div id="deSelectAllMsgDiv" class="alert-block msgDiv noprint">
<strong><a id="deSelectAllMsg" href="#">{\App\Language::translate('LBL_DESELECT_ALL_RECORDS',$MODULE_NAME)}</a></strong>
</div>
<div class="listViewContentDiv" id="listViewContents">
{/strip}