Files
CRM/customerportal/writeable/templates_c/default/0656778174fa7e76a4cb4d542ba81ed3a64db859.file.IndexContentBefore.tpl.php
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

66 lines
3.2 KiB
PHP

<?php /* Smarty version Smarty-3.1.19, created on 2019-09-08 15:01:27
compiled from "C:\wamp64\www\sophalcrm\customerportal\layouts\default\templates\Portal\partials\IndexContentBefore.tpl" */ ?>
<?php /*%%SmartyHeaderCode:31175d7517c7e47d65-74195281%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'0656778174fa7e76a4cb4d542ba81ed3a64db859' =>
array (
0 => 'C:\\wamp64\\www\\sophalcrm\\customerportal\\layouts\\default\\templates\\Portal\\partials\\IndexContentBefore.tpl',
1 => 1520231416,
2 => 'file',
),
),
'nocache_hash' => '31175d7517c7e47d65-74195281',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5d7517c7e884a3_54903728',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d7517c7e884a3_54903728')) {function content_5d7517c7e884a3_54903728($_smarty_tpl) {?>
<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"></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"></button>
</div>
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-4 col-xs-4">
<div class="addbtnContainer" ng-if="isCreatable">
<button class="btn btn-primary" ng-click="createRecord(module)">New {{ptitle}}</button>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-4">
&nbsp;
</div>
<div class="col-lg-2 col-md-2 col-sm-12 col-xs-12">
<button class="btn btn-primary" ng-if="exportEnabled" ng-csv="exportRecords(module)" csv-header="csvHeaders" add-bom="true" filename="{{filename}}.csv">{{'Export'|translate}}&nbsp;{{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>
<?php }} ?>