diff options
Diffstat (limited to 'rt/share/html/SelfService/Update.html')
-rwxr-xr-x | rt/share/html/SelfService/Update.html | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/rt/share/html/SelfService/Update.html b/rt/share/html/SelfService/Update.html index 61ce09059..6525d3de9 100755 --- a/rt/share/html/SelfService/Update.html +++ b/rt/share/html/SelfService/Update.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -54,13 +54,13 @@ <form action="Display.html" method="post" enctype="multipart/form-data"> <input type="hidden" class="hidden" name="UpdateType" value="response" /> <input type="hidden" class="hidden" name="id" value="<%$Ticket->Id%>" /> -<table> +<table width="100%"> <tr> <td class="label"> <&|/l&>Status</&> </td> <td class="value"> - <& /Elements/SelectStatus, Name=>"Status", DefaultLabel => loc("[_1] (Unchanged)", loc($Ticket->Status)), Default => $ARGS{'Status'} || ($Ticket->Status eq $DefaultStatus ? undef : $DefaultStatus)&> + <& /Elements/SelectStatus, Name => "Status", TicketObj => $Ticket, DefaultLabel => loc("[_1] (Unchanged)", loc($Ticket->Status)), Default => $ARGS{'Status'} || ($Ticket->Status eq $DefaultStatus ? undef : $DefaultStatus)&> </td> </tr> <tr> @@ -72,30 +72,9 @@ </td> </tr> -% if (exists $session{'Attachments'}) { -<tr> - <td class="label"> - <&|/l&>Attached file</&> - </td> - <td colspan="5" class="value"> - <&|/l&>Check box to delete</&><br /> -% foreach my $attach_name (keys %{$session{'Attachments'}}) { - <input type="checkbox" class="checkbox" name="DeleteAttach-<%$attach_name%>" value="1" /><%$attach_name%><br /> -% } # end of foreach - </td> -</tr> -% } # end of if -<tr> - <td class="label"> - <&|/l&>Attach</&> - </td> - <td class="value"> - <input name="Attach" type="file" /> - <input type="hidden" class="hidden" name="UpdateAttach" value="1" /> - </td> - </tr> + <& /Ticket/Elements/AddAttachments, %ARGS, TicketObj => $Ticket &> + <tr><td colspan="2"><& /Ticket/Elements/EditCustomFields, TicketObj => $Ticket &></td></tr> </table> -<& /Ticket/Elements/EditCustomFields, TicketObj => $Ticket &> <& /Elements/MessageBox, Name => "UpdateContent", QuoteTransaction => $ARGS{QuoteTransaction} |