2 <md-toolbar class="md-table-toolbar md-default">
3 <div class="md-toolbar-tools">
4 <span class="md-subhead" translate="MOTIONDIALER.IVR_CAMPAIGNS"
9 on-search="vm.query.filter = query;"
10 on-collapse="vm.query.filter = undefined;"
18 <table md-table multiple md-progress="vm.promise">
19 <thead md-head md-order="vm.query.sort" md-on-reorder="vm.getCampaigns">
21 <th md-column>{{'MOTIONDIALER.NAME' | translate}}</th>
22 <th md-column>{{'MOTIONDIALER.TOTAL' | translate}}</th>
23 <th md-column>{{'MOTIONDIALER.TOTAL_MANAGED' | translate}}</th>
24 <th md-column>{{'MOTIONDIALER.LIMITED' | translate}}</th>
25 <th md-column>{{'MOTIONDIALER.ORIGINATED' | translate}}</th>
26 <th md-column>{{'MOTIONDIALER.MESSAGE' | translate}}</th>
27 <th md-column>{{'MOTIONDIALER.CALLYSQUAREPROJECT' | translate}}</th>
28 <th md-column>{{ 'MOTIONDIALER.TRUNK' | translate }}</th>
29 <th md-column>{{ 'MOTIONDIALER.ACTIVE' | translate }}</th>
33 <tr md-row ng-hide="vm.campaigns">
34 <td md-cell colspan="8">
35 <div layout="row" layout-align="center center">
36 <span translate="MOTIONDIALER.NO_AVAILABLE_INFO"
37 >No Available Info</span
42 <tr md-row ng-repeat="(id, campaign) in vm.campaigns">
44 <span>{{campaign.name}}</span>
47 <span class="font-size-20 grey-fg"
48 >{{campaign.ivrTotalCallsDays || 0}}</span
52 <span class="font-size-20 grey-fg"
53 >{{campaign.ivrAnswerCallsDay || 0}} ({{(campaign.ivrTotalCallsDays)
54 ? (campaign.ivrAnswerCallsDay || 0) *
55 100/(campaign.ivrTotalCallsDays ) : 0 | number:1}}%)</span
59 <span class="font-size-20 grey-fg">{{campaign.limitCalls || 0}}</span>
62 <span class="font-size-20 grey-fg">{{campaign.originated || 0}}</span>
65 <span class="font-size-20 grey-fg"
66 >{{campaign.message ? ('MOTIONDIALER.'+campaign.message | translate)
71 <span class="font-size-20 grey-fg"
72 >{{campaign.dialQueueProject || '--'}}</span
76 <span class="font-size-16 grey-fg"
77 >{{campaign.Trunk ? campaign.Trunk.name : '--'}}</span
82 md-colors="{color: {{campaign.active ? '\'green\'' : '\'red\''}}}"
83 md-font-icon="{{campaign.active ? 'icon-check' : 'icon-close'}}"
86 <td md-cell class="actions" ng-if="vm.crudPermissions.canEdit">
89 class="md-icon-button"
92 translate-attr-aria-label="MOTIONDIALER.MORE"
93 ng-click="$mdMenu.open($event)"
95 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
97 <md-menu-content width="3">
100 ng-click="vm.createOrEditIvrCampaign($event, campaign)"
101 translate="MOTIONDIALER.EDIT_CAMPAIGN"
112 </md-table-container>
115 md-label="{page: '{{'MOTIONDIALER.PAGE' | translate}}:', rowsPerPage: '{{'MOTIONDIALER.ROWSPERPAGE' | translate}}:', of: '{{'MOTIONDIALER.OF' | translate}}'}"
116 md-limit="vm.query.limit"
117 md-limit-options="[10, 15, 20, 50, 100, 250]"
118 md-page="vm.query.page"
119 md-total="{{vm.count}}"
120 md-on-paginate="vm.getCampaigns"
122 ></md-table-pagination>
123 <!-- / QUEUE TABLE -->