% if ($Role) {
<&|/l&>Owner&>
|  |
% my $owner = ($ARGS{'Owner'} || $Ticket->OwnerObj->Id());
% $owner = $session{CurrentUser}->UserObj->Id if $ARGS{'Action-Resolve'};
<& SelectOwner, Name=>"Owner", Default => $owner, QueueObj => $Ticket->QueueObj, TicketObj => $Ticket, ReadOnly => ($IsRequestor or !$Role), Mandatory => 1 &>
|
% }
<&|/l&>Current Status&>
|  |
% my $status = $ARGS{'Status'} || $ARGS{'DefaultStatus'} || $Ticket->Status;
<& SelectStatus, Name=>"Status", Default => $status, ReadOnly => ($IsRequestor or !$Role), id => $id &>
|
<& /Work/Tickets/Elements/EditCustomFields, Ticket => $Ticket, ReadOnly => ($IsRequestor or !$Role), Loc => 1 &>
|
|
%# Info {{{
<&|/l&>Update Type&>
|  |
% if ($CanComment) {
type="radio" name="UpdateType" value="private" <%$CommentDefault%>><&|/l&>Comments (Not sent to requestors)&>
% }
% if ($CanRespond) {
type="radio" name="UpdateType" value="response" <%$ResponseDefault%>><&|/l&>Response to requestors&>
% }
|
%# }}}
<&|/l&>Cc&>
% if ($RT::OIN104) {
|  |
% unless ($IsRequestor) {
Id), 650, 500 &>" style="width:50px">
% }
% } else {
|  |
% }
|
<&|/l&>Bcc&>
|  |
<&|/l&>(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does not change who will receive future updates.)&>
|
<& /Work/Tickets/Elements/AddAttachments &>
%# Content {{{
<&|/l&>Comments&>
|
 |
% if (exists $ARGS{UpdateContent}) {
<& /Work/Elements/MessageBox, Name=>"UpdateContent", Default=>$ARGS{UpdateContent}, %ARGS&>
% } else {
<& /Work/Elements/MessageBox, Name=>"UpdateContent", %ARGS &>
%}
|
%# }}}
|