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 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
|
# --
# Copyright (C) 2001-2021 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
<form action="[% Env("CGIHandle") %]" method="post" enctype="multipart/form-data" name="compose" id="ComposeTicket" class="Validate PreventMultipleSubmits">
<input type="hidden" name="Action" value="[% Env("Action") %]"/>
<input type="hidden" name="Subaction" value="SendEmail"/>
<input type="hidden" name="TicketID" value="[% Data.TicketID | html %]"/>
<input type="hidden" name="Email" value="[% Data.Email | html %]"/>
<input type="hidden" name="InReplyTo" value="[% Data.InReplyTo | html %]"/>
<input type="hidden" name="References" value="[% Data.References | html %]"/>
<input type="hidden" name="FormID" value="[% Data.FormID | html %]"/>
<input type="hidden" name="ResponseID" value="[% Data.ResponseID | html %]"/>
<input type="hidden" name="ReplyArticleID" value="[% Data.ReplyArticleID | html %]"/>
<input type="hidden" name="IsVisibleForCustomerPresent" value="1"/>
<input type="hidden" name="FormDraftTitle" value="[% Data.FormDraftTitle | html %]"/>
<input type="hidden" name="FormDraftID" value="[% Data.FormDraftID | html %]"/>
<input type="hidden" name="FormDraftAction" id="FormDraftAction" />
<div class="LayoutPopup ARIARoleMain">
<div class="Header">
<h1>[% Translate("Compose Answer for %s%s%s", Config('Ticket::Hook'), Config('Ticket::HookDivider'), Data.TicketNumber) | html %] — [% Data.Title | html %]</h1>
<p class="AsteriskExplanation">[% Translate("All fields marked with an asterisk (*) are mandatory.") | html %]</p>
[% RenderBlockStart("TicketBack") %]
<p>
<a class="CancelClosePopup" href="#">[% Translate("Cancel & close") | html %]</a>
</p>
[% RenderBlockEnd("TicketBack") %]
[% RenderBlockStart("TicketBackUndo") %]
<p>
[% Translate("The ticket has been locked") | html %].
<a class="UndoClosePopup" href="[% Env("Baselink") %]Action=AgentTicketLock;Subaction=Unlock;TicketID=[% Data.TicketID %][% IF Data.PreviousOwner %];PreviousOwner=[% Data.PreviousOwner %][% END %];[% Env("ChallengeTokenParam") | html %]">
[% Translate("Undo & close") | html %]
</a>
</p>
[% RenderBlockEnd("TicketBackUndo") %]
</div>
<div class="Content">
[% INCLUDE "FormElements/DraftNotifications.tt" %]
<div class="ContentColumn">
<fieldset class="TableLike FixedLabel">
<label>[% Translate("From") | html %]:</label>
<div class="Field">
[% Data.From | html %]
</div>
<div class="Clear"></div>
<label for="ToCustomer" class="Mandatory"><span class="Marker">*</span>[% Translate("To") | html %]:</label>
<div class="Field">
<input id="ToCustomer" type="text" name="ToCustomer" value="" class="CustomerAutoComplete W75pc [% Data.ToIsLocalAddress | html %] [% Data.ToInvalid | html %]" autocomplete="off" />
<div id="ToCustomerServerError" class="TooltipErrorMessage">
[% RenderBlockStart("ToIsLocalAddressServerErrorMsg") %]
<p>[% Translate("This address is registered as system address and cannot be used: %s", Data.To) | html %]</p>
[% RenderBlockEnd("ToIsLocalAddressServerErrorMsg") %]
[% RenderBlockStart("ToServerErrorMsg") %]
<p>[% Translate("Please include at least one recipient") | html %]</p>
[% RenderBlockEnd("ToServerErrorMsg") %]
</div>
[% IF Data.OptionCustomerUserAddressBook %]
<a href="#" data-recipient-field-label="[% Translate("To") | html %]" data-recipient-field="ToCustomer" data-recipient-type="Email" id="OptionCustomerUserAddressBookToCustomer" class="OptionCustomerUserAddressBook AdditionlFieldIcon" title="[% Translate("Select one or more recipients from the customer user address book.") | html %]">
<span>[% Translate("Customer user address book") | html %]</span>
<i class="fa fa-address-book-o"></i>
</a>
[% END %]
</div>
<div class="Clear"></div>
<div class="Field [% Data.CustomerHiddenContainer | html %]">
<div class="CustomerTicketTemplateToCustomer SpacingTopSmall Hidden">
<input name="CustomerInitialValue" id="CustomerInitialValue" type="hidden" value="[% Data.To | html %]" />
<input name="CustomerKey" id="CustomerKey" class="CustomerKey" type="hidden" value=""/>
<input name="CustomerQueue" id="CustomerQueue" class="CustomerQueue" type="hidden" value=""/>
<input class="CustomerTicketText" title="[% Translate("To") | html %]" name="CustomerTicketText" id="CustomerTicketText" type="text" value="" readonly="readonly" />
<a href="#" id="RemoveCustomerTicket" class="RemoveButton CustomerTicketRemove">
<i class="fa fa-minus-square-o"></i>
<span class="InvisibleText">[% Translate("Remove Ticket Customer") | html %]</span>
</a>
</div>
<div id="TicketCustomerContentToCustomer" class="CustomerContainer">
<span class="BoxLabel">[% Translate("To") | html %]</span>
[% RenderBlockStart("MultipleCustomer") %]
<div class="SpacingTopSmall ">
<input name="CustomerKey_[% Data.Count | html %]" id="CustomerKey_[% Data.Count | html %]" class="CustomerKey" type="hidden" value="[% Data.CustomerKey | html %]"/>
<input name="CustomerQueue_[% Data.Count | html %]" id="CustomerQueue_[% Data.Count | html %]" class="CustomerQueue" type="hidden" value="[% Data.CustomerQueue | html %]"/>
<input class="CustomerTicketText [% Data.CustomerError | html %]" name="CustomerTicketText_[% Data.Count %]" id="CustomerTicketText_[% Data.Count %]" type="text" value="[% Data.CustomerElement | html %]" readonly="readonly" />
<a href="#" id="RemoveCustomerTicket_[% Data.Count %]" class="RemoveButton CustomerTicketRemove">
<i class="fa fa-minus-square-o"></i>
<span class="InvisibleText">[% Translate("Remove Ticket Customer") | html %]</span>
</a>
[% RenderBlockStart("CustomerErrorExplantion") %]
<p class="Explanation Error">[% Translate("Please remove this entry and enter a new one with the correct value.") | html %]</p>
[% RenderBlockEnd("CustomerErrorExplantion") %]
<div id="CustomerTicketText_[% Data.Count %]ServerError" class="TooltipErrorMessage">
[% RenderBlockStart("CustomerGenericServerErrorMsg") %]
<p>[% Translate("This field is required.") | html %]</p>
[% RenderBlockEnd("CustomerGenericServerErrorMsg") %]
[% RenderBlockStart("InvalidConfigServerErrorMsg") %]
<p>[% Translate("This email address is not allowed due to the system configuration.") | html %]</p>
[% RenderBlockEnd("InvalidConfigServerErrorMsg") %]
[% RenderBlockStart("InvalidMXServerErrorMsg") %]
<p>[% Translate("This email address failed MX check.") | html %]</p>
[% RenderBlockEnd("InvalidMXServerErrorMsg") %]
[% RenderBlockStart("InvalidDNSServerErrorMsg") %]
<p>[% Translate("DNS problem, please check your configuration and the error log.") | html %]</p>
[% RenderBlockEnd("InvalidDNSServerErrorMsg") %]
[% RenderBlockStart("InvalidSyntaxServerErrorMsg") %]
<p>[% Translate("The syntax of this email address is incorrect.") | html %]</p>
[% RenderBlockEnd("InvalidSyntaxServerErrorMsg") %]
[% RenderBlockStart("IsDuplicatedServerErrorMsg") %]
<p>[% Translate("This address already exists on the address list.") | html %]</p>
[% RenderBlockEnd("IsDuplicatedServerErrorMsg") %]
</div>
</div>
[% RenderBlockEnd("MultipleCustomer") %]
</div>
[% RenderBlockStart("MultipleCustomerCounter") %]
<input name="CustomerTicketCounterToCustomer" id="CustomerTicketCounterToCustomer" type="hidden" value="[% Data.CustomerCounter | html %]"/>
[% RenderBlockEnd("MultipleCustomerCounter") %]
</div>
<div class="Clear"></div>
<label for="CcCustomer">[% Translate("Cc") | html %]:</label>
<div class="Field">
<input id="CcCustomer" type="text" name="CcCustomer" value="" class="CustomerAutoComplete W75pc [% Data.CcIsLocalAddress | html %] [% Data.CcInvalid | html %]" autocomplete="off" />
<div id="CcCustomerServerError" class="TooltipErrorMessage">
[% RenderBlockStart("CcIsLocalAddressServerErrorMsg") %]
<p>[% Translate("This address is registered as system address and cannot be used: %s", Data.Cc) | html %]</p>
[% RenderBlockEnd("CcIsLocalAddressServerErrorMsg") %]
</div>
[% IF Data.OptionCustomerUserAddressBook %]
<a href="#" data-recipient-field-label="[% Translate("Cc") | html %]" data-recipient-field="CcCustomer" data-recipient-type="Email" id="OptionCustomerUserAddressBookCcCustomer" class="OptionCustomerUserAddressBook AdditionlFieldIcon" title="[% Translate("Select one or more recipients from the customer user address book.") | html %]">
<span>[% Translate("Customer user address book") | html %]</span>
<i class="fa fa-address-book-o"></i>
</a>
[% END %]
</div>
<div class="Clear"></div>
<div class="Field [% Data.CcCustomerHiddenContainer | html %]">
<div class="CustomerTicketTemplateCcCustomer SpacingTopSmall Hidden">
<input name="CcCustomerInitialValue" id="CcCustomerInitialValue" type="hidden" value="[% Data.Cc | html %]" />
<input name="CcCustomerKey" id="CcCustomerKey" class="CustomerKey" type="hidden" value=""/>
<input name="CcCustomerQueue" id="CcCustomerQueue" class="CustomerQueue" type="hidden" value=""/>
<input class="CustomerTicketText" title="[% Translate("Cc") | html %]" name="CcCustomerTicketText" id="CcCustomerTicketText" type="text" value="" readonly="readonly" />
<a href="#" id="CcRemoveCustomerTicket" class="RemoveButton CustomerTicketRemove">
<i class="fa fa-minus-square-o"></i>
<span class="InvisibleText">[% Translate("Remove Cc") | html %]</span>
</a>
</div>
<div id="TicketCustomerContentCcCustomer" class="CcCustomerContainer">
<span class="BoxLabel">[% Translate("Cc") | html %]</span>
[% RenderBlockStart("CcMultipleCustomer") %]
<div>
<input name="CcCustomerKey_[% Data.Count | html %]" id="CcCustomerKey_[% Data.Count | html %]" class="CustomerKey" type="hidden" value="[% Data.CustomerKey | html %]"/>
<input name="CcCustomerQueue_[% Data.Count | html %]" id="CcCustomerQueue_[% Data.Count | html %]" class="CustomerQueue" type="hidden" value="[% Data.CustomerQueue | html %]"/>
<input class="CustomerTicketText [% Data.CustomerError | html %]" name="CcCustomerTicketText_[% Data.Count %]" id="CcCustomerTicketText_[% Data.Count %]" type="text" value="[% Data.CustomerElement | html %]" readonly="readonly" />
<a href="#" id="CcRemoveCustomerTicket_[% Data.Count %]" class="RemoveButton CustomerTicketRemove">
<i class="fa fa-minus-square-o"></i>
<span class="InvisibleText">[% Translate("Remove Cc") | html %]</span>
</a>
[% RenderBlockStart("CcCustomerErrorExplantion") %]
<p class="Explanation Error">[% Translate("Please remove this entry and enter a new one with the correct value.") | html %]</p>
[% RenderBlockEnd("CcCustomerErrorExplantion") %]
<div id="CcCustomerTicketText_[% Data.Count %]ServerError" class="TooltipErrorMessage">
[% RenderBlockStart("CcCustomerGenericServerErrorMsg") %]
<p>[% Translate("This field is required.") | html %]</p>
[% RenderBlockEnd("CcCustomerGenericServerErrorMsg") %]
[% RenderBlockStart("CcInvalidConfigServerErrorMsg") %]
<p>[% Translate("This email address is not allowed due to the system configuration.") | html %]</p>
[% RenderBlockEnd("CcInvalidConfigServerErrorMsg") %]
[% RenderBlockStart("CcInvalidMXServerErrorMsg") %]
<p>[% Translate("This email address failed MX check.") | html %]</p>
[% RenderBlockEnd("CcInvalidMXServerErrorMsg") %]
[% RenderBlockStart("CcInvalidDNSServerErrorMsg") %]
<p>[% Translate("DNS problem, please check your configuration and the error log.") | html %]</p>
[% RenderBlockEnd("CcInvalidDNSServerErrorMsg") %]
[% RenderBlockStart("CcInvalidSyntaxServerErrorMsg") %]
<p>[% Translate("The syntax of this email address is incorrect.") | html %]</p>
[% RenderBlockEnd("CcInvalidSyntaxServerErrorMsg") %]
[% RenderBlockStart("CcIsDuplicatedServerErrorMsg") %]
<p>[% Translate("This address already exists on the address list.") | html %]</p>
[% RenderBlockEnd("CcIsDuplicatedServerErrorMsg") %]
</div>
</div>
[% RenderBlockEnd("CcMultipleCustomer") %]
</div>
[% RenderBlockStart("CcMultipleCustomerCounter") %]
<input name="CustomerTicketCounterCcCustomer" id="CustomerTicketCounterCcCustomer" type="hidden" value="[% Data.CustomerCounter | html %]"/>
[% RenderBlockEnd("CcMultipleCustomerCounter") %]
</div>
<div class="Clear"></div>
<label for="BccCustomer">[% Translate("Bcc") | html %]:</label>
<div class="Field">
<input id="BccCustomer" type="text" name="BccCustomer" value="" class="CustomerAutoComplete W75pc [% Data.BccIsLocalAddress | html %] [% Data.BccInvalid | html %]" autocomplete="off" />
<div id="BccCustomerServerError" class="TooltipErrorMessage">
[% RenderBlockStart("BccIsLocalAddressServerErrorMsg") %]
<p>[% Translate("This address is registered as system address and cannot be used: %s", Data.Bcc) | html %]</p>
[% RenderBlockEnd("BccIsLocalAddressServerErrorMsg") %]
</div>
[% IF Data.OptionCustomerUserAddressBook %]
<a href="#" data-recipient-field-label="[% Translate("Bcc") | html %]" data-recipient-field="BccCustomer" data-recipient-type="Email" id="OptionCustomerUserAddressBookBccCustomer" class="OptionCustomerUserAddressBook AdditionlFieldIcon" title="[% Translate("Select one or more recipients from the customer user address book.") | html %]">
<span>[% Translate("Customer user address book") | html %]</span>
<i class="fa fa-address-book-o"></i>
</a>
[% END %]
</div>
<div class="Clear"></div>
<div class="Field [% Data.BccCustomerHiddenContainer | html %]">
<div class="CustomerTicketTemplateBccCustomer SpacingTopSmall Hidden">
<input name="BccCustomerInitialValue" id="BccCustomerInitialValue" type="hidden" value="[% Data.Bcc | html %]" />
<input name="BccCustomerKey" id="BccCustomerKey" class="CustomerKey" type="hidden" value=""/>
<input name="BccCustomerQueue" id="BccCustomerQueue" class="CustomerQueue" type="hidden" value=""/>
<input class="CustomerTicketText" title="[% Translate("Bcc") | html %]" name="BccCustomerTicketText" id="BccCustomerTicketText" type="text" value="" readonly="readonly" />
<a href="#" id="BccRemoveCustomerTicket" class="RemoveButton CustomerTicketRemove">
<i class="fa fa-minus-square-o"></i>
<span class="InvisibleText">[% Translate("Remove Bcc") | html %]</span>
</a>
</div>
<div id="TicketCustomerContentBccCustomer" class="BccCustomerContainer">
<span class="BoxLabel">[% Translate("Bcc") | html %]</span>
[% RenderBlockStart("BccMultipleCustomer") %]
<div class="SpacingTopSmall ">
<input name="BccCustomerKey_[% Data.Count | html %]" id="BccCustomerKey_[% Data.Count | html %]" class="CustomerKey" type="hidden" value="[% Data.CustomerKey | html %]"/>
<input name="BccCustomerQueue_[% Data.Count | html %]" id="BccCustomerQueue_[% Data.Count | html %]" class="CustomerQueue" type="hidden" value="[% Data.CustomerQueue | html %]"/>
<input class="CustomerTicketText [% Data.CustomerError | html %]" name="BccCustomerTicketText_[% Data.Count %]" id="BccCustomerTicketText_[% Data.Count %]" type="text" value="[% Data.CustomerElement | html %]" readonly="readonly" />
<a href="#" id="BccRemoveCustomerTicket_[% Data.Count %]" class="RemoveButton CustomerTicketRemove">
<i class="fa fa-minus-square-o"></i>
<span class="InvisibleText">[% Translate("Remove Bcc") | html %]</span>
</a>
[% RenderBlockStart("BccCustomerErrorExplantion") %]
<p class="Explanation Error">[% Translate("Please remove this entry and enter a new one with the correct value.") | html %]</p>
[% RenderBlockEnd("BccCustomerErrorExplantion") %]
<div id="BccCustomerTicketText_[% Data.Count %]ServerError" class="TooltipErrorMessage">
[% RenderBlockStart("BccCustomerGenericServerErrorMsg") %]
<p>[% Translate("This field is required.") | html %]</p>
[% RenderBlockEnd("BccCustomerGenericServerErrorMsg") %]
[% RenderBlockStart("BccInvalidConfigServerErrorMsg") %]
<p>[% Translate("This email address is not allowed due to the system configuration.") | html %]</p>
[% RenderBlockEnd("BccInvalidConfigServerErrorMsg") %]
[% RenderBlockStart("BccInvalidMXServerErrorMsg") %]
<p>[% Translate("This email address failed MX check.") | html %]</p>
[% RenderBlockEnd("BccInvalidMXServerErrorMsg") %]
[% RenderBlockStart("BccInvalidDNSServerErrorMsg") %]
<p>[% Translate("DNS problem, please check your configuration and the error log.") | html %]</p>
[% RenderBlockEnd("BccInvalidDNSServerErrorMsg") %]
[% RenderBlockStart("BccInvalidSyntaxServerErrorMsg") %]
<p>[% Translate("The syntax of this email address is incorrect.") | html %]</p>
[% RenderBlockEnd("BccInvalidSyntaxServerErrorMsg") %]
[% RenderBlockStart("BccIsDuplicatedServerErrorMsg") %]
<p>[% Translate("This address already exists on the address list.") | html %]</p>
[% RenderBlockEnd("BccIsDuplicatedServerErrorMsg") %]
</div>
</div>
[% RenderBlockEnd("BccMultipleCustomer") %]
</div>
[% RenderBlockStart("BccMultipleCustomerCounter") %]
<input name="CustomerTicketCounterBccCustomer" id="CustomerTicketCounterBccCustomer" type="hidden" value="[% Data.CustomerCounter | html %]"/>
[% RenderBlockEnd("BccMultipleCustomerCounter") %]
</div>
<div class="Clear"></div>
<label class="Mandatory" for="Subject"><span class="Marker">*</span>[% Translate("Subject") | html %]:</label>
<div class="Field">
<input type="text" name="Subject" id="Subject" value="[% Data.Subject | html %]" class="Validate_Required [% Data.SubjectInvalid %] W75pc"/>
<div id="SubjectError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<div id="SubjectServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Clear"></div>
[% RenderBlockStart("Option") %]
<label for="[% Data.Name | html %]">[% Translate(Data.Key) | html %]:</label>
<div class="Field">
[% Data.Value %]
<div id="[% Data.Name | html %]ServerError" class="TooltipErrorMessage"><p>[% Data.Invalid | html %]</p></div>
[% IF Data.FieldExplanation.length %]
<p class="FieldExplanation">[% Translate(Data.FieldExplanation) | html %]</p>
[% END %]
</div>
<div class="Clear"></div>
[% RenderBlockEnd("Option") %]
[% RenderBlockStart("TicketOptions") %]
<label>[% Translate("Options") | html %]:</label>
<div class="Field">
<!-- OutputFilterHook_TicketOptionsBegin -->
<!-- OutputFilterHook_TicketOptionsEnd -->
</div>
<div class="Clear"></div>
[% RenderBlockEnd("TicketOptions") %]
<!-- OutputFilterHook_NoTicketOptionsFallback -->
<label class="Mandatory" for="RichText"><span class="Marker">*</span>[% Translate("Text") | html %]:</label>
<div class="RichTextField">
<textarea id="RichText" name="Body" rows="15" cols="[% Config("Ticket::Frontend::TextAreaEmail") %]" class="RichText Validate_Required [% Data.BodyInvalid | html %]">[% Data.ResponseFormat %]</textarea>
<div id="RichTextError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
<div id="RichTextServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Clear"></div>
<label>[% Translate("Attachments") | html %]:</label>
<div class="Field">
[% INCLUDE "FormElements/AttachmentList.tt" %]
</div>
<div class="Clear"></div>
<label for="StateID">[% Translate("Next ticket state") | html %]:</label>
<div class="Field">
[% Data.NextStatesStrg %]
</div>
<div class="Clear"></div>
<label>[% Translate("Pending date") | html %]:</label>
<div class="Field">
[% Data.PendingDateString %]
<div id="DayServerError" class="TooltipErrorMessage"><p>[% Translate("Date Invalid!") | html %]</p></div>
<div id="HourServerError" class="TooltipErrorMessage"><p>[% Translate("Date Invalid!") | html %]</p></div>
<p class="FieldExplanation">[% Translate("For all pending* states.") | html %]</p>
</div>
<div class="Clear"></div>
[% RenderBlockStart("IsVisibleForCustomer") %]
<label for="IsVisibleForCustomer">[% Translate("Visible for customer") | html %]:</label>
<div class="Field">
<input type="checkbox" id="IsVisibleForCustomer" name="IsVisibleForCustomer" value="1" [% IF Data.IsVisibleForCustomer %]checked="checked"[% END %]/>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("IsVisibleForCustomer") %]
[% RenderBlockStart("DynamicField") %]
<div class="Row Row_DynamicField_[% Data.Name | html %]">
[% Data.Label %]
<div class="Field">
[% Data.Field %]
</div>
<div class="Clear"></div>
</div>
[% RenderBlockEnd("DynamicField") %]
# example of how to use fixed dynamic field blocks for customizations
# Note: Field1 and Field2 are the names of the fields and had to be replaced with the actual
# field names
#[% RenderBlockStart("DynamicField_Field1") %]
# <div class="Row Row_DynamicField_[% Data.Name | html %]">
# [% Data.Label %]
# <div class="Field">
# [% Data.Field %]
# </div>
# <div class="Clear"></div>
# </div>
#[% RenderBlockEnd("DynamicField_Field1") %]
#[% RenderBlockStart("DynamicField_Field2") %]
# <div class="Row Row_DynamicField_[% Data.Name | html %]">
# [% Data.Label %]
# <div class="Field">
# [% Data.Field %]
# </div>
# <div class="Clear"></div>
# </div>
#[% RenderBlockEnd("DynamicField_Field2") %]
[% RenderBlockStart("TimeUnitsLabel") %]
<label for="TimeUnits">[% Translate("Time units") | html %] [% Translate(Config("Ticket::Frontend::TimeUnits")) | html %]:</label>
[% RenderBlockEnd("TimeUnitsLabel") %]
[% RenderBlockStart("TimeUnitsLabelMandatory") %]
<label class="Mandatory" for="TimeUnits"><span class="Marker">*</span>[% Translate("Time units") | html %] [% Translate(Config("Ticket::Frontend::TimeUnits")) | html %]:</label>
[% RenderBlockEnd("TimeUnitsLabelMandatory") %]
[% RenderBlockStart("TimeUnits") %]
<div class="Field">
<input type="text" name="TimeUnits" id="TimeUnits" value="[% Data.TimeUnits | html %]" class="W50pc Validate_TimeUnits [% Data.TimeUnitsRequired | html %] [% Data.TimeUnitsInvalid | html %] " />
<div id="TimeUnitsError" class="TooltipErrorMessage"><p>[% Translate("Invalid time!") | html %]</p></div>
<div id="TimeUnitsServerError" class="TooltipErrorMessage"><p>[% Translate("This field is required.") | html %]</p></div>
</div>
<div class="Clear"></div>
[% RenderBlockEnd("TimeUnits") %]
</fieldset>
</div>
<br/>
</div>
<div class="Footer">
<button class="CallForAction Primary" id="submitRichText" accesskey="g" title="[% Translate("Send mail") | html %] (g)" type="submit" value="[% Translate("Send mail") | html %]" >
<span><i class="fa fa-envelope-o"></i> [% Translate("Send mail") | html %]</span>
</button>
[% INCLUDE "FormElements/DraftButtons.tt" %]
</div>
</div>
</form>
|