layouts/basic/modules/Vtiger/dashboards/MiniListFooter.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="widgetFooterContent">
<div class="row no-margin">
{if $OWNER eq false}
{assign var="MINILIST_WIDGET_RECORDS" value=[]}
{else}
{assign var="MINILIST_WIDGET_RECORDS" value=$MINILIST_WIDGET_MODEL->getRecords($OWNER)}
{/if}
<div class="col-4">
<button class="btn btn-sm btn-light recordCount"
data-url="{\App\Purifier::encodeHtml($MINILIST_WIDGET_MODEL->getTotalCountURL($OWNER))}">
<span class="fas fa-signal" title="{\App\Language::translate('LBL_WIDGET_FILTER_TOTAL_COUNT_INFO')}"
aria-hidden="false"></span>
<a class="d-none" aria-hidden="true"
href="{\App\Purifier::encodeHtml($MINILIST_WIDGET_MODEL->getListViewURL($OWNER))}">
<span class="count badge badge-secondary"></span>
</a>
</button>
</div>
{if count($MINILIST_WIDGET_RECORDS) >= $MINILIST_WIDGET_MODEL->getRecordLimit()}
<div class="col-8">
<a class="btn btn-sm btn-primary float-right"
href="{\App\Purifier::encodeHtml($MINILIST_WIDGET_MODEL->getListViewURL($OWNER))}">
<span class="fas fa-align-justify"></span>
{\App\Language::translate('LBL_MORE')}
</a>
</div>
{else}
{/if}
</div>
</div>
{/strip}