1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
|
# --
# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
[% RenderBlockStart("Overview") %]
<div class="MainBox ARIARoleMain LayoutFixedSidebar SidebarFirst">
<h1>[% Translate("Manage Queues") | html %]</h1>
<div class="SidebarColumn">
<div class="WidgetSimple">
[% RenderBlockStart("ActionList") %]
<div class="Header">
<h2>[% Translate("Actions") | html %]</h2>
</div>
<div class="Content">
<ul class="ActionList">
[% RenderBlockStart("ActionOverview") %]
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %]" class="CallForAction Fullsize Center"><span><i class="fa fa-caret-left"></i>[% Translate("Go to overview") | html %]</span></a>
</li>
[% RenderBlockEnd("ActionOverview") %]
[% RenderBlockStart("ActionAdd") %]
<li>
<a href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Add" class="CallForAction Fullsize Center Create"><span><i class="fa fa-plus-square"></i>[% Translate("Add queue") | html %]</span></a>
</li>
[% RenderBlockEnd("ActionAdd") %]
</ul>
</div>
[% RenderBlockEnd("ActionList") %]
</div>
</div>
<div class="ContentColumn">
[% RenderBlockStart("OverviewResult") %]
<div class="WidgetSimple">
<div class="Header">
<h2>[% Translate("List") | html %]</h2>
</div>
<div class="Content">
<table class="DataTable">
<thead>
<tr>
<th>[% Translate("Name") | html %]</th>
<th>[% Translate("Group") | html %]</th>
<th>[% Translate("Comment") | html %]</th>
<th>[% Translate("Validity") | html %]</th>
<th>[% Translate("Changed") | html %]</th>
<th>[% Translate("Created") | html %]</th>
</tr>
</thead>
<tbody>
[% RenderBlockStart("NoDataFoundMsg") %]
<tr>
<td colspan="6">
[% Translate("No data found.") | html %]
</td>
</tr>
[% RenderBlockEnd("NoDataFoundMsg") %]
[% RenderBlockStart("OverviewResultRow") %]
<tr [% IF Data.ValidID != 1 %]class="Invalid"[% END %]>
<td>
<a class="AsBlock" href="[% Env("Baselink") %]Action=[% Env("Action") %];Subaction=Change;QueueID=[% Data.QueueID | uri %]">[% Data.Name | html %]</a>
</td>
<td>[% Data.GroupName | html %]</td>
<td title="[% Data.Comment | html %]">[% Data.Comment | truncate(26) | html %]</td>
<td>[% Translate(Data.Valid) | html %]</td>
<td>[% Data.ChangeTime | Localize("TimeShort") %]</td>
<td>[% Data.CreateTime | Localize("TimeShort") %]</td>
</tr>
[% RenderBlockEnd("OverviewResultRow") %]
</tbody>
</table>
</div>
</div>
[% RenderBlockEnd("OverviewResult") %]
[% RenderBlockStart("OverviewUpdate") %]
<div class="WidgetSimple">
<div class="Header">
[% RenderBlockStart("HeaderAdd") %]
<h2>[% Translate("Add Queue") | html %]</h2>
[% RenderBlockEnd("HeaderAdd") %]
[% RenderBlockStart("HeaderEdit") %]
<h2>[% Translate("Edit Queue") | html %]</h2>
[% RenderBlockEnd("HeaderEdit") %]
</div>
<div class="Content">
<form action="[% Env("CGIHandle") %]" method="post" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="[% Data.Action | uri %]Action"/>
<input type="hidden" name="QueueID" value="[% Data.QueueID | html %]"/>
<fieldset class="TableLike">
<label class="Mandatory" for="Name"><span class="Marker">*</span> [% Translate("Name") | html %]:</label>
<div class="Field">
<input type="text" name="Name" id="Name" value="[% Data.Name | html %]" class="W50pc Validate_Required [% Data.NameInvalid | html %]" maxlength="50"/>
<div id="NameError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="NameServerError" class="TooltipErrorMessage">
[% RenderBlockStart("NameServerError") %]
<p>[% Translate("This field is required.") | html %]</p>
[% RenderBlockEnd("NameServerError") %]
[% RenderBlockStart("ExistNameServerError") %]
<p>[% Translate("A queue with this name already exists!") | html %] </p>
[% RenderBlockEnd("ExistNameServerError") %]
</div>
</div>
<div class="Clear"></div>
<label for="ParentQueueID">[% Translate("Sub-queue of") | html %]:</label>
<div class="Field">
[% Data.QueueOption %]
</div>
<div class="Clear"></div>
<label class="Mandatory" for="GroupID"><span class="Marker">*</span> [% Translate("Group") | html %]:</label>
<div class="Field">
[% Data.GroupOption %]
<div id="GroupIDError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="GroupIDServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
<label for="UnlockTimeout">
[% Translate("Unlock timeout") | html %] [% Translate("minutes") | html %]:
</label>
<div class="Field">
<input type="text" name="UnlockTimeout" id="UnlockTimeout" value="[% Data.UnlockTimeout | html %]" class="W20pc" maxlength="10"/>
<p class="FieldExplanation">
[% Translate("0 = no unlock") | html %] - 24 [% Translate("hours") | html %] = 1440 [% Translate("minutes") | html %] - [% Translate("Only business hours are counted.") | html %]
</p>
<p class="FieldExplanation">
[% Translate("If an agent locks a ticket and does not close it before the unlock timeout has passed, the ticket will unlock and will become available for other agents.") | html %]
</p>
</div>
<div class="Clear"></div>
<label for="FirstResponseTime">
[% Translate("Escalation - first response time") | html %] ([% Translate("minutes") | html %]):
</label>
<div class="Field">
<input type="text" name="FirstResponseTime" id="FirstResponseTime" value="[% Data.FirstResponseTime | html %]" class="W20pc" maxlength="10"/>
( <label>[% Translate("Notify by") | html %] [% Data.FirstResponseNotifyOptionStrg %] </label> )
<p class="FieldExplanation">
[% Translate("0 = no escalation") | html %] - 24 [% Translate("hours") | html %] = 1440 [% Translate("minutes") | html %] - [% Translate("Only business hours are counted.") | html %]
</p>
<p class="FieldExplanation">
[% Translate("If there is not added a customer contact, either email-external or phone, to a new ticket before the time defined here expires, the ticket is escalated.") | html %]
</p>
</div>
<div class="Clear"></div>
<label for="UpdateTime">
[% Translate("Escalation - update time") | html %] ([% Translate("minutes") | html %]):
</label>
<div class="Field">
<input type="text" name="UpdateTime" id="UpdateTime" value="[% Data.UpdateTime | html %]" class="W20pc" maxlength="10"/>
( <label>[% Translate("Notify by") | html %] [% Data.UpdateNotifyOptionStrg %]</label> )
<p class="FieldExplanation">
[% Translate("0 = no escalation") | html %] - 24 [% Translate("hours") | html %] = 1440 [% Translate("minutes") | html %] - [% Translate("Only business hours are counted.") | html %]
</p>
<p class="FieldExplanation">
[% Translate("If there is an article added, such as a follow-up via email or the customer portal, the escalation update time is reset. If there is no customer contact, either email-external or phone, added to a ticket before the time defined here expires, the ticket is escalated.") | html %]
</p>
</div>
<div class="Clear"></div>
<label for="SolutionTime">
[% Translate("Escalation - solution time") | html %] ([% Translate("minutes") | html %]):
</label>
<div class="Field">
<input type="text" name="SolutionTime" id="SolutionTime" value="[% Data.SolutionTime | html %]" class="W20pc" maxlength="10"/>
( <label>[% Translate("Notify by") | html %] [% Data.SolutionNotifyOptionStrg %] </label>)
<p class="FieldExplanation">
[% Translate("0 = no escalation") | html %] - 24 [% Translate("hours") | html %] = 1440 [% Translate("minutes") | html %] - [% Translate("Only business hours are counted.") | html %]
</p>
<p class="FieldExplanation">
[% Translate("If the ticket is not set to closed before the time defined here expires, the ticket is escalated.") | html %]
</p>
</div>
<div class="Clear"></div>
<label class="Mandatory" for="FollowUpID"><span class="Marker">*</span> [% Translate("Follow up Option") | html %]:</label>
<div class="Field">
[% Data.FollowUpOption %]
<p class="FieldExplanation">
[% Translate("Specifies if follow up to closed tickets would re-open the ticket, be rejected or lead to a new ticket.") | html %]
</p>
<div id="FollowUpIDError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="FollowUpIDServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
<label class="Mandatory" for="FollowUpLock"><span class="Marker">*</span> [% Translate("Ticket lock after a follow up") | html %]:</label>
<div class="Field">
[% Data.FollowUpLockYesNoOption %]
<p class="FieldExplanation">
[% Translate("If a ticket is closed and the customer sends a follow up the ticket will be locked to the old owner.") | html %]
</p>
<div id="FollowUpLockError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="FollowUpLockServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
<label class="Mandatory" for="SystemAddressID"><span class="Marker">*</span> [% Translate("System address") | html %]:</label>
<div class="Field">
[% Data.SystemAddressOption %]
<p class="FieldExplanation">
[% Translate("Will be the sender address of this queue for email answers.") | html %]
</p>
<div id="SystemAddressIDError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="SystemAddressIDServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
[% RenderBlockStart("OptionalField") %]
<label for="DefaultSignKey">[% Translate("Default sign key") | html %] <em>([% Data.Email | html %])</em>:</label>
<div class="Field">
[% Data.DefaultSignKeyOption %]
</div>
<div class="Clear"></div>
[% RenderBlockEnd("OptionalField") %]
<label class="Mandatory" for="SalutationID"><span class="Marker">*</span> [% Translate("Salutation") | html %]:</label>
<div class="Field">
[% Data.SalutationOption %]
<p class="FieldExplanation">
[% Translate("The salutation for email answers.") | html %]
</p>
<div id="SalutationIDError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="SalutationIDServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
<label class="Mandatory" for="SignatureID"><span class="Marker">*</span> [% Translate("Signature") | html %]:</label>
<div class="Field">
[% Data.SignatureOption %]
<p class="FieldExplanation">
[% Translate("The signature for email answers.") | html %]
</p>
<div id="SignatureIDError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="SignatureIDServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
<label for="Calendar">[% Translate("Calendar") | html %]:</label>
<div class="Field">
[% Data.CalendarOption %]
</div>
<div class="Clear"></div>
<label class="Mandatory" for="ValidID"><span class="Marker">*</span> [% Translate("Validity") | html %]:</label>
<div class="Field">
[% Data.ValidOption %]
<div id="ValidIDError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
<div id="ValidIDServerError" class="TooltipErrorMessage">
<p>[% Translate("This field is required.") | html %]</p>
</div>
</div>
<div class="Clear"></div>
<label for="Comment">[% Translate("Comment") | html %]:</label>
<div class="Field">
<input type="text" name="Comment" id="Comment" value="[% Data.Comment | html %]" class="W50pc" maxlength="250"/>
</div>
<div class="Clear"></div>
[% RenderBlockStart("Item") %]
[% RenderBlockStart("InputKey") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Label) | html %] [% Translate(Data.Key) | html %]:</label>
<div class="Field">
<input type="text" name="[% Data.Name | html %]" id="[% Data.Name | html %]" value="[% Data.SelectedID | html %]" class="W50pc" maxlength="30"/>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("InputKey") %]
[% RenderBlockStart("Input") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Label) | html %]:</label>
<div class="Field">
<input type="text" name="[% Data.Name | html %]" id="[% Data.Name | html %]" value="[% Data.SelectedID | html %]" class="W50pc" maxlength="30"/>
<p class="FieldExplanation">
[% Translate(Data.Desc) | html %]
</p>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("Input") %]
[% RenderBlockStart("TextArea") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Label) | html %]:</label>
<div class="Field">
<textarea name="[% Data.Name | html %]" id="[% Data.Name | html %]" rows="[% Data.Rows | html %]" cols="[% Data.Cols | html %]">[% Data.SelectedID | html %]</textarea>
<p class="FieldExplanation">
[% Translate(Data.Desc) | html %]
</p>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("TextArea") %]
[% RenderBlockStart("Option") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Label) | html %] [% Translate(Data.Key) | html %]:</label>
<div class="Field">
[% Data.Option %]
<p class="FieldExplanation">
[% Translate(Data.Desc) | html %]
</p>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("Option") %]
[% RenderBlockStart("Upload") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Label) | html %] [% Translate(Data.Key) | html %]:</label>
<div class="Field">
<input type="file" name="[% Data.Name | html %]" id="[% Data.Name | html %]" class="W50pc" maxlength="30"/>
<a href="">[% Data.Filename | html %]</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("Upload") %]
[% RenderBlockStart("Password") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Label) | html %] [% Translate(Data.Key) | html %]:</label>
<div class="Field">
<input type="password" name="[% Data.Name | html %]" id="[% Data.Name | html %]" class="W50pc" maxlength="30" value=""/>
<a href="">[% Data.Filename | html %]</a>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("Password") %]
[% RenderBlockEnd("Item") %]
<div class="Field SpacingTop">
<button class="Primary CallForAction" id="Submit" type="submit" value="[% Translate("Submit") | html %]"><span>[% Translate("Submit") | html %]</span></button>
[% Translate("or") | html %]
<a href="[% Env("Baselink") %]Action=[% Env("Action") %]"><span>[% Translate("Cancel") | html %]</span></a>
</div>
<div class="Clear"></div>
</fieldset>
</form>
</div>
</div>
[% RenderBlockEnd("OverviewUpdate") %]
</div>
<div class="Clear"></div>
</div>
[% RenderBlockEnd("Overview") %]
|