3 class="page-layout simple left-sidenav inner-sidenav motion-list"
7 class="header md-accent-bg"
9 layout-align="space-between center"
12 <div layout="row" layout-align="start center">
13 <div class="logo" layout="row" layout-align="start center">
14 <span class="logo-icon">
15 <md-icon md-font-icon="icon-google-earth" class="s24"></md-icon>
17 <span class="logo-text" translate="OPENCHANNEL.OPENCHANNELQUEUES"
18 >OpenchannelQueues</span
27 class="search-input-wrapper"
29 layout-align="start center"
32 <md-icon md-font-icon="icon-magnify"></md-icon>
34 <md-input-container md-no-float class="m-0">
37 placeholder="Search for anyone"
39 ng-model="vm.query.filter"
40 ng-model-options="{ debounce: 1000 }"
42 translate-attr-placeholder="OPENCHANNEL.SEARCH_FOR_ANYONE"
53 ng-show="vm.selectedOpenchannelQueues.length > 0"
54 class="selected-bar header animate-slide-down md-accent-bg"
56 layout-align="start center"
59 class="close-button-wrapper"
60 ng-click="vm.selectedOpenchannelQueues =[]"
62 <md-button layout="row" layout-align="start center">
63 <md-icon md-font-icon="icon-arrow-left" class="mr-8"></md-icon>
64 <span translate="OPENCHANNEL.BACK">Back</span>
68 <div flex layout="row" layout-align="space-between center">
70 <span class="selected-openchannelQueues-count">
71 <span>{{vm.selectedOpenchannelQueues.length}}</span>
72 <span translate="OPENCHANNEL.SELECTED">selected</span>
75 <md-menu class="select-menu" ng-if="!vm.currentThread">
77 class="md-icon-button"
78 ng-click="$mdMenu.open($event)"
79 aria-label="multi select toggle"
81 translate-attr-aria-label="OPENCHANNEL.MULTI_SELECT_TOGGLE"
83 <md-icon md-font-icon="icon-menu-down"></md-icon>
85 <md-menu-content width="3">
88 ng-click="vm.selectAllOpenchannelQueues()"
89 translate="OPENCHANNEL.SELECT_ALL"
96 ng-click="vm.deselectOpenchannelQueues()"
97 translate="OPENCHANNEL.SELECT_NONE"
106 <div class="multi-select-actions">
108 class="md-icon-button"
109 ng-csv="vm.exportSelectedOpenchannelQueues"
111 filename="openchannelQueues.csv"
113 <md-icon md-font-icon="icon-file-excel"></md-icon>
116 class="md-icon-button"
117 ng-if="vm.crudPermissions.canDelete"
118 ng-click="vm.deleteSelectedOpenchannelQueues($event)"
119 aria-label="delete selected"
121 translate-attr-label="OPENCHANNEL.DELETE_SELECTED"
123 <md-icon md-font-icon="icon-delete"></md-icon>
128 <!-- / SELECTED BAR -->
131 <div class="content" md-background-bg layout="row" layout-align="start start">
133 <div class="main scrollable" ms-scroll>
134 <!-- OPENCHANNELQUEUE TABLE -->
141 ng-model="vm.selectedOpenchannelQueues"
142 md-progress="vm.promise"
146 md-order="vm.query.sort"
147 md-on-reorder="vm.getOpenchannelQueues"
152 ng-if="vm.table == 'users' || vm.table == 'agents'"
155 <th md-column md-order-by="id">
156 {{ 'OPENCHANNEL.ID' | translate }}
158 <th md-column md-order-by="name">
159 {{ 'OPENCHANNEL.NAME' | translate }}
161 <th md-column md-order-by="strategy">
162 {{ 'OPENCHANNEL.STRATEGY' | translate }}
164 <th md-column width="10px"></th>
168 <tr md-row ng-hide="vm.openchannelQueues.rows.length">
169 <td md-cell colspan="4">
170 <div layout="row" layout-align="center center">
171 <span translate="OPENCHANNEL.NO_AVAILABLE_INFO"
172 >No Available Info</span
179 md-select="openchannelQueue"
181 ng-repeat="openchannelQueue in vm.openchannelQueues.rows"
183 <td md-cell ng-if="openchannelQueue.userpic">
186 alt="{{openchannelQueue.name}}"
187 ng-src="api/users/{{openchannelQueue.id}}/avatar"
192 ng-if="!openchannelQueue.userpic && (vm.table == 'users' || vm.table == 'agents')"
196 alt="{{openchannelQueue.name}}"
197 ng-src="assets/images/avatars/profile.png"
201 ng-click="vm.crudPermissions.readOnly || (vm.crudPermissions.canDelete && !vm.crudPermissions.canEdit) ? vm.editstate(openchannelQueue, ev) : vm.createOrEditOpenchannelQueue($event, openchannelQueue)"
205 {{openchannelQueue.id}}
208 ng-click="vm.crudPermissions.readOnly || (vm.crudPermissions.canDelete && !vm.crudPermissions.canEdit) ? vm.editstate(openchannelQueue, ev) : vm.createOrEditOpenchannelQueue($event, openchannelQueue)"
212 {{openchannelQueue.name}}
215 ng-click="vm.crudPermissions.readOnly || (vm.crudPermissions.canDelete && !vm.crudPermissions.canEdit) ? vm.editstate(openchannelQueue, ev) : vm.createOrEditOpenchannelQueue($event, openchannelQueue)"
219 {{ vm.arraystrategy[openchannelQueue.strategy].option }}
222 <td md-cell class="actions">
225 class="md-icon-button"
228 translate-attr-aria-label="OPENCHANNEL.MORE"
229 ng-click="$mdMenu.open($event)"
231 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
234 <md-menu-content width="3">
239 <md-menu-item ng-if="vm.crudPermissions.canEdit">
241 ng-click="vm.editstate(openchannelQueue, $event )"
242 translate="OPENCHANNEL.EDIT_OPENCHANNELQUEUE"
244 Edit OpenchannelQueue
254 ng-click="vm.teamadddialog(openchannelQueue, $event )"
255 translate="OPENCHANNEL.TEAMADD_OPENCHANNELQUEUE"
257 teamadd OpenchannelQueue
267 ng-click="vm.agentadddialog(openchannelQueue, $event )"
268 translate="OPENCHANNEL.AGENTADD_OPENCHANNELQUEUE"
270 agentadd OpenchannelQueue
278 <md-menu-item ng-if="vm.crudPermissions.canDelete">
280 ng-click="vm.deleteconfirm(openchannelQueue, $event )"
281 translate="OPENCHANNEL.DELETE_OPENCHANNELQUEUE"
283 Delete OpenchannelQueue
293 ng-click="vm.gotorealtimegoto(openchannelQueue, $event )"
294 translate="OPENCHANNEL.GOTOREALTIME_OPENCHANNELQUEUE"
296 goToRealtime OpenchannelQueue
305 </md-table-container>
308 md-label="{page: '{{'OPENCHANNEL.PAGE' | translate}}:', rowsPerPage: '{{'OPENCHANNEL.ROWSPERPAGE' | translate}}:', of: '{{'OPENCHANNEL.OF' | translate}}'}"
309 md-limit="vm.query.limit"
310 md-limit-options="[10, 15, 20, 50, 100, 250]"
311 md-page="vm.query.page"
312 md-total="{{vm.openchannelQueues.count}}"
313 md-on-paginate="vm.getOpenchannelQueues"
315 ></md-table-pagination>
317 <!-- / OPENCHANNELQUEUE TABLE -->
320 <!-- / NO RESULTS -->
326 <!-- ADD OPENCHANNELQUEUE BUTTON -->
328 ng-if="vm.crudPermissions.canEdit"
329 class="md-fab md-accent add-item-button"
330 id="add-openchannelQueue-button"
331 ng-click="vm.createOrEditOpenchannelQueue($event)"
332 aria-label="add openchannelQueue"
334 translate-attr-aria-label="OPENCHANNEL.ADD_OPENCHANNELQUEUE"
336 <md-icon md-font-icon="icon-plus"></md-icon>
338 <!-- / ADD OPENCHANNELQUEUE BUTTON -->