45 lines
2.4 KiB
Smarty
45 lines
2.4 KiB
Smarty
{*+**********************************************************************************
|
|
|
|
* The contents of this file are subject to the vtiger CRM Public License Version 1.2
|
|
|
|
* ("License.txt"); You may not use this file except in compliance with the License
|
|
|
|
* The Original Code is: Vtiger CRM Open Source
|
|
|
|
* The Initial Developer of the Original Code is Vtiger.
|
|
|
|
* Portions created by Vtiger are Copyright (C) Vtiger.
|
|
|
|
* All Rights Reserved.
|
|
|
|
************************************************************************************}
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
<div class="navigation-controls-row">
|
|
|
|
<div ng-if="checkRecordsVisibility(filterPermissions)" class="panel-title col-md-12 module-title">{{ptitle}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row portal-controls-row">
|
|
|
|
<div ng-if="!checkRecordsVisibility(filterPermissions)" class="panel-title col-md-12 module-title">{{ptitle}}</div>
|
|
|
|
<div class="col-lg-3 col-md-3 col-sm-8 col-xs-8" ng-if="checkRecordsVisibility(filterPermissions)">
|
|
|
|
<div class="btn-group btn-group-justified">
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button"
|
|
|
|
ng-class="{'btn btn-default btn-primary':searchQ.onlymine, 'btn btn-default':!searchQ.onlymine}" ng-click="searchQ.onlymine=true">{{'Mine' | translate}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button"
|
|
|
|
ng-class="{'btn btn-default btn-primary':!searchQ.onlymine, 'btn btn-default':searchQ.onlymine}" ng-click="searchQ.onlymine=false">{{'All' | translate}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-4">
|
|
|
|
<div class="btn-group addbtnContainer" ng-if="isCreateable">
|
|
|
|
<button type="button" class="btn btn-primary addBtn" ng-click="create()">{{'Add Document' | translate}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 pagination-holder pull-right">
|
|
|
|
<div class="pull-right">
|
|
|
|
<div class="text-center">
|
|
|
|
<pagination
|
|
|
|
total-items="totalPages" max-size="3" ng-model="currentPage" ng-change="pageChanged(currentPage)" boundary-links="true">
|
|
|
|
</pagination>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/literal}
|
|
|