1 <div layout="row" ngCloak>
3 <md-toolbar class="md-table-toolbar md-default table-header red-900-bg">
4 <div class="md-toolbar-tools">
5 <span class="md-subhead" translate="VOICE.QUEUES">Queues</span>
10 <table md-table md-progress="vm_bull.promise">
13 md-order="vm_bull.query.sort"
14 md-on-reorder="vm_bull.getVoiceQueues"
17 <th md-column>{{ 'VOICE.NAME' | translate }}</th>
18 <th md-column>{{ 'VOICE.TYPE' | translate }}</th>
19 <th md-column>{{ 'VOICE.WAITING' | translate }}</th>
20 <th ng-if="voiceQueue.type === 'outbound'" md-column>
21 {{ 'VOICE.ACTIVE' | translate }}
23 <!-- <th md-column md-order-by="active">{{ 'VOICE.ACTIVE' | translate }}</th> -->
27 <tr md-row ng-hide="vm_bull.getSize(vm_bull.voiceQueues)">
28 <td md-cell colspan="4">
29 <div layout="row" layout-align="center center">
30 <span translate="VOICE.NO_AVAILABLE_INFO"
31 >No Available Info</span
36 <tr md-row ng-repeat="(key, voiceQueue) in vm_bull.voiceQueues">
37 <td md-cell class="name">{{voiceQueue.name}}</td>
38 <td ng-if="voiceQueue.type === 'outbound'" md-cell class="waiting">
39 {{voiceQueue.dialMethod}}
41 <td md-cell class="waiting">{{voiceQueue.waiting || 0}}</td>
44 ng-if="voiceQueue.type === 'outbound'"
48 md-colors="{color: {{voiceQueue.dialActive ? '\'green\'' : '\'grey\''}}}"
49 md-font-icon="{{voiceQueue.dialActive ? 'icon-check' : 'icon-close'}}"
58 md-limit="vm_bull.query.limit"
59 md-limit-options="[10, 15, 20, 50, 100, 250]"
60 md-page="vm_bull.query.page"
61 md-total="{{vm_bull.voiceQueuesTotal}}"
62 md-on-paginate="vm_bull.getVoiceQueues"
64 ></md-table-pagination>
67 <md-toolbar class="md-table-toolbar md-default table-header red-900-bg">
68 <div class="md-toolbar-tools">
69 <span class="md-subhead" translate="DASHBOARDS.WAITING_TEXT"></span>
77 <th md-column>{{ 'VOICE.DID' | translate }}</th>
78 <th md-column>{{ 'VOICE.QUEUE' | translate }}</th>
79 <th md-column>{{ 'VOICE.CALLER' | translate }}</th>
83 <tr md-row ng-hide="vm_bull.getSize(vm_bull.rpcVoiceQueuesChannels)">
84 <td md-cell colspan="3">
85 <div layout="row" layout-align="center center">
86 <span translate="VOICE.NO_AVAILABLE_INFO"
87 >No Available Info</span
94 ng-repeat="(key, channel) in vm_bull.rpcVoiceQueuesChannels | limitObjectFromTo: vm_bull.queryChannels.limit:(vm_bull.queryChannels.page - 1) * vm_bull.queryChannels.limit"
96 <td md-cell>{{channel.exten}}</td>
97 <td md-cell>{{channel.queue}}</td>
98 <td md-cell>{{channel.calleridnum}}</td>
102 </md-table-container>
105 md-limit="vm_bull.queryChannels.limit"
106 md-page="vm_bull.queryChannels.page"
107 md-limit-options="[10, 15, 20, 50, 100, 250]"
108 md-total="{{vm_bull.getSize(vm_bull.rpcVoiceQueuesChannels)}}"
110 ></md-table-pagination>