1 <div layout="row" ngCloak>
3 <md-toolbar class="md-table-toolbar md-default table-header blue-A700-bg">
4 <div class="md-toolbar-tools">
5 <span class="md-subhead" translate="VOICE.QUEUES">Queues</span>
10 <table md-table md-progress="vm_voice.promise">
13 md-order="vm_voice.query.sort"
14 md-on-reorder="vm_voice.getVoiceQueues"
17 <th md-column>{{ 'VOICE.NAME' | translate }}</th>
18 <th md-column>{{ 'VOICE.WAITING' | translate }}</th>
19 <th ng-if="voiceQueue.type === 'outbound'" md-column>
20 {{ 'VOICE.ACTIVE' | translate }}
22 <!-- <th md-column md-order-by="active">{{ 'VOICE.ACTIVE' | translate }}</th> -->
26 <tr md-row ng-hide="vm_voice.getSize(vm_voice.voiceQueues)">
27 <td md-cell colspan="2">
28 <div layout="row" layout-align="center center">
29 <span translate="VOICE.NO_AVAILABLE_INFO"
30 >No Available Info</span
35 <tr md-row ng-repeat="(key, voiceQueue) in vm_voice.voiceQueues">
36 <td md-cell class="name">{{voiceQueue.name}}</td>
37 <td ng-if="voiceQueue.type === 'outbound'" md-cell class="waiting">
38 {{voiceQueue.dialMethod}}
40 <td md-cell class="waiting">{{voiceQueue.waiting || 0}}</td>
43 ng-if="voiceQueue.type === 'outbound'"
47 md-colors="{color: {{voiceQueue.dialActive ? '\'green\'' : '\'grey\''}}}"
48 md-font-icon="{{voiceQueue.dialActive ? 'icon-check' : 'icon-close'}}"
57 md-limit="vm_voice.query.limit"
58 md-limit-options="[10, 15, 20, 50, 100, 250]"
59 md-page="vm_voice.query.page"
60 md-total="{{vm_voice.voiceQueuesTotal}}"
61 md-on-paginate="vm_voice.getVoiceQueues"
63 ></md-table-pagination>
66 <md-toolbar class="md-table-toolbar md-default table-header blue-A700-bg">
67 <div class="md-toolbar-tools">
68 <span class="md-subhead" translate="DASHBOARDS.WAITING_TEXT"></span>
76 <th md-column>{{ 'VOICE.DID' | translate }}</th>
77 <th md-column>{{ 'VOICE.QUEUE' | translate }}</th>
78 <th md-column>{{ 'VOICE.CALLER' | translate }}</th>
84 ng-hide="vm_voice.getSize(vm_voice.rpcVoiceQueuesChannels)"
86 <td md-cell colspan="3">
87 <div layout="row" layout-align="center center">
88 <span translate="VOICE.NO_AVAILABLE_INFO"
89 >No Available Info</span
96 ng-repeat="(key, channel) in vm_voice.rpcVoiceQueuesChannels | limitObjectFromTo: vm_voice.queryChannels.limit:(vm_voice.queryChannels.page - 1) * vm_voice.queryChannels.limit"
98 <td md-cell>{{channel.exten}}</td>
99 <td md-cell>{{channel.queue}}</td>
100 <td md-cell>{{channel.calleridnum}}</td>
104 </md-table-container>
107 md-limit="vm_voice.queryChannels.limit"
108 md-page="vm_voice.queryChannels.page"
109 md-limit-options="[10, 15, 20, 50, 100, 250]"
110 md-total="{{vm_voice.getSize(vm_voice.rpcVoiceQueuesChannels)}}"
112 ></md-table-pagination>