1 <div layout="row" ngCloak>
4 class="md-table-toolbar md-default table-header"
5 ng-class="vm_chat.getColorByChannel('chat')"
7 <div class="md-toolbar-tools">
8 <span class="md-subhead" translate="DASHBOARDS.QUEUES">Queues</span>
13 <table md-table md-progress="vm_chat.promise">
16 md-order="vm_chat.query.sort"
17 md-on-reorder="vm_chat.getChatQueues"
20 <th md-column>{{ 'DASHBOARDS.NAME' | translate }}</th>
21 <th md-column>{{ 'DASHBOARDS.WAITING' | translate }}</th>
22 <!-- <th md-column>{{ 'VOICE.ACTIVE' | translate }}</th> -->
23 <!-- <th md-column md-order-by="active">{{ 'VOICE.ACTIVE' | translate }}</th> -->
27 <tr md-row ng-hide="vm_chat.getSize(vm_chat.chatQueues)">
28 <td md-cell colspan="2">
29 <div layout="row" layout-align="center center">
30 <span translate="DASHBOARDS.NO_AVAILABLE_INFO"
31 >No Available Info</span
36 <tr md-row ng-repeat="(key, queue) in vm_chat.chatQueues">
37 <td md-cell class="name">{{queue.name}}</td>
38 <td md-cell class="waiting">{{queue.waiting || 0}}</td>
39 <!-- <td md-cell class="dialActive ">
40 <md-icon ng-if="queue.type === 'outbound'" md-colors="{color: {{queue.dialActive ? '\'green\'' : '\'grey\''}}}" md-font-icon="{{queue.dialActive ? 'icon-check' : 'icon-close'}}"></md-icon>
41 <md-icon ng-if="queue.type === 'inbound'" md-colors="{color: 'green'}" md-font-icon="icon-check"></md-icon>
49 md-limit="vm_chat.query.limit"
50 md-limit-options="[10, 15, 20, 50, 100, 250]"
51 md-page="vm_chat.query.page"
52 md-total="{{vm_chat.chatQueuesTotal}}"
53 md-on-paginate="vm_chat.getChatQueues"
55 ></md-table-pagination>
59 class="md-table-toolbar md-default table-header"
60 ng-class="vm_chat.getColorByChannel('chat')"
62 <div class="md-toolbar-tools">
65 translate="DASHBOARDS.CHANNEL_WAITING_TEXT"
74 <th md-column>{{ 'DASHBOARDS.ACCOUNT' | translate }}</th>
75 <th md-column>{{ 'DASHBOARDS.CHANNEL_QUEUE' | translate }}</th>
76 <th md-column>{{ 'DASHBOARDS.CHANNEL_FROM' | translate }}</th>
80 <tr md-row ng-hide="vm_chat.paginatedInteractions.length">
81 <td md-cell colspan="3">
82 <div layout="row" layout-align="center center">
83 <span translate="DASHBOARDS.NO_AVAILABLE_INFO"
84 >No Available Info</span
89 <tr md-row ng-repeat="(key, interaction) in vm_chat.interactions">
90 <td md-cell>{{interaction.account}}</td>
91 <td md-cell>{{interaction.queue}}</td>
92 <td md-cell>{{interaction.from}}</td>
99 md-limit="vm_chat.queryChannels.limit"
100 md-page="vm_chat.queryChannels.page"
101 md-limit-options="[10, 15, 20, 50, 100, 250]"
102 md-total="{{vm_chat.paginatedInteractions.length}}"
103 md-on-paginate="vm_chat.paginate"
105 ></md-table-pagination>