2 id="openchannel-openchannelQueue"
3 class="page-layout simple tabbed"
7 <div class="header md-accent-bg" layout="row" layout-align="start center">
8 <div class="white-fg" layout="row" layout-align="start center" flex>
10 class="goto-openchannelQueues-button md-icon-button"
11 aria-label="Go to openchannelQueues"
12 ng-click="vm.gotoOpenchannelQueues()"
14 translate-attr-aria-label="OPENCHANNEL.GO_TO_OPENCHANNELQUEUES"
16 <md-icon md-font-icon="icon-arrow-left"></md-icon>
19 <div layout="row" layout-align="start center">
20 <div class="openchannelQueue-image" hide-xs>
21 <img ng-src="assets/images/business/openchannelQueues.jpg" />
24 <div layout="column" layout-align="start start">
26 #{{vm.openchannelQueue.id}}
27 <span ng-if="vm.openchannelQueue.name"
28 >{{vm.openchannelQueue.name}}</span
31 <div class="subtitle secondary-text">
32 <span translate="OPENCHANNEL.CREATED_AT"></span>
33 <span>{{vm.openchannelQueue.createdAt | date:'medium'}}</span>
41 ng-click="vm.teamadddialog(vm.openchannelQueue, $event)"
42 class="md-fab md-orange-500-bg md-icon-button"
46 ><span translate="OPENCHANNEL.TEAMADD_OPENCHANNELQUEUE"></span
48 <md-icon md-font-icon="icon-account-multiple-plus"></md-icon>
54 ng-click="vm.agentadddialog(vm.openchannelQueue, $event)"
55 class="md-fab md-purple-500-bg md-icon-button"
59 ><span translate="OPENCHANNEL.AGENTADD_OPENCHANNELQUEUE"></span
61 <md-icon md-font-icon="icon-account-plus"></md-icon>
67 ng-click="vm.saveOpenchannelQueue()"
68 ng-if="vm.crudPermissions.canEdit"
69 class="send-button md-accent md-raised"
70 ng-disabled="(generalForm.$invalid)"
71 translate="OPENCHANNEL.SAVE"
72 translate-attr-aria-label="OPENCHANNEL.SAVE"
83 md-selected="vm.selectedTab"
84 md-stretch-tabs="always"
91 <span translate="OPENCHANNEL.SETTINGS">SETTINGS</span>
95 class="openchannelQueue-detail-form-container general md-background-bg md-whiteframe-1dp"
97 <div class="pb-16" layout="row" layout-align="start center">
98 <div class="h2 secondary-text" translate="OPENCHANNEL.GENERAL">
102 <form name="generalForm" novalidate>
103 <md-input-container class="md-block">
104 <label translate="OPENCHANNEL.NAME">Name</label>
108 ng-model="vm.openchannelQueue.name"
109 ng-pattern="/^[A-Za-z0-9\.\_]+$/i"
116 <span translate="OPENCHANNEL.HELP.NAME"></span>
119 ng-messages="generalForm['name'].$error"
120 ng-show="generalForm['name'].$touched"
123 <div ng-message="required">
124 <span translate="OPENCHANNEL.ERRORS.NAME_REQUIRED"
125 >Name field is required</span
128 <div ng-message="pattern">
130 translate="OPENCHANNEL.ERRORS.NAME_MUST_VALID_PATTERN"
131 translate-values="{ regex: '/^[A-Za-z0-9\.\_]+$/i' }"
132 >Name must be valid pattern
136 </md-input-container>
137 <md-input-container class="md-block">
138 <label translate="OPENCHANNEL.STRATEGY">Strategy</label>
141 ng-model="vm.openchannelQueue.strategy"
143 ng-disabled="!vm.crudPermissions.canEdit"
145 <md-option ng-value="'beepall'">Beepall</md-option>
146 <md-option ng-value="'rrmemory'">RR Memory</md-option>
149 ng-messages="generalForm['strategy'].$error"
150 ng-show="generalForm['strategy'].$touched"
153 <div ng-message="required">
154 <span translate="OPENCHANNEL.ERRORS.STRATEGY_REQUIRED"
155 >Strategy field is required</span
159 </md-input-container>
160 <md-input-container class="md-block">
161 <label translate="OPENCHANNEL.AGENT_TIMEOUT"
162 >Agent_Timeout</label
167 ng-model="vm.openchannelQueue.timeout"
171 ng-disabled="!vm.crudPermissions.canEdit"
175 ng-messages="generalForm['timeout'].$error"
176 ng-show="generalForm['timeout'].$touched"
179 <div ng-message="required">
180 <span translate="OPENCHANNEL.ERRORS.AGENT_TIMEOUT_REQUIRED"
181 >Agent_Timeout field is required</span
184 <div ng-message="min">
186 translate="OPENCHANNEL.ERRORS.AGENT_TIMEOUT_MUST_BE_GREATER_THAN_OR_EQUAL_TO"
187 >Agent_Timeout must be a valid greater or equal than</span
191 <div ng-message="max">
193 translate="OPENCHANNEL.ERRORS.AGENT_TIMEOUT_MUST_BE_LESS_THAN_OR_EQUAL_TO"
194 >Agent_Timeout must be a valid greater or equal than</span
199 </md-input-container>
200 <md-input-container class="md-block">
201 <label translate="OPENCHANNEL.DESCRIPTION">Description</label>
205 ng-model="vm.openchannelQueue.description"
206 ng-disabled="!vm.crudPermissions.canEdit"
210 ng-messages="generalForm['description'].$error"
211 ng-show="generalForm['description'].$touched"
214 <div ng-message="required">
215 <span translate="OPENCHANNEL.ERRORS.DESCRIPTION_REQUIRED"
216 >Description field is required</span
220 </md-input-container>