56 lines
3.2 KiB
Smarty
56 lines
3.2 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 class="col-lg-2 col-md-2 col-sm-8 col-xs-8">
|
|
|
|
<div ng-if="!checkRecordsVisibility(filterPermissions)" class="panel-title col-md-12 module-title">{{ptitle}}</div>
|
|
|
|
<div class="btn-group btn-group-justified" ng-if="checkRecordsVisibility(filterPermissions)">
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" translate="Mine"
|
|
|
|
ng-class="{'btn btn-default btn-primary':searchQ.onlymine, 'btn btn-default':!searchQ.onlymine}" ng-click="searchQ.onlymine=true">Mine</button>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" translate="All"
|
|
|
|
ng-class="{'btn btn-default btn-primary':!searchQ.onlymine, 'btn btn-default':searchQ.onlymine}" ng-click="searchQ.onlymine=false">All</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="isCreatable">
|
|
|
|
<button type="button" translate= "New Ticket" class="btn btn-primary" ng-click="create()"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--<div class="hidden-md hidden-lg" style="height: 20px;"></div>-->
|
|
|
|
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
|
|
|
|
<div class="row" ng-if="activateStatus">
|
|
|
|
<hp-selectric items="ticketStatus" ng-model="searchQ.ticketstatus"></hp-selectric>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12">
|
|
|
|
<button ng-if="records" class="btn btn-primary" ng-csv="exportRecords(module)" csv-header="csvHeaders" add-bom="true" filename="{{filename}}.csv">{{'Export'|translate}} {{ptitle}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12 pagination-holder">
|
|
|
|
<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>
|
|
|
|
<!-- <div class="table-header" ng-show="pageInitialized"><h4>Tickets {{searchQ.type}</h4></div> -->
|
|
|
|
<input name="visited" type="hidden" ng-init="beforeRefresh='0'" ng-model="beforeRefresh">
|
|
|
|
{/literal}
|
|
|