From 160be29a0dc62e79a4fb95d2ab8c0c7e5996760e Mon Sep 17 00:00:00 2001 From: cvs2git Date: Mon, 12 Aug 2002 06:17:10 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'BESTPRACTICAL'. --- rt/webrt/Ticket/Update.html | 110 -------------------------------------------- 1 file changed, 110 deletions(-) delete mode 100755 rt/webrt/Ticket/Update.html (limited to 'rt/webrt/Ticket/Update.html') diff --git a/rt/webrt/Ticket/Update.html b/rt/webrt/Ticket/Update.html deleted file mode 100755 index be2266663..000000000 --- a/rt/webrt/Ticket/Update.html +++ /dev/null @@ -1,110 +0,0 @@ -<& /Elements/Header, Title=> $title &> -<& /Ticket/Elements/Tabs, Ticket => $Ticket &> -<& /Elements/TitleBoxStart, title => "Update ticket" &> - -
- - - - - - -
-Ticket watchers -Requestor: - -<% $Ticket->RequestorsAsString %> -
  -Cc: - -<% $Ticket->CcAsString %> -
  -AdminCc: - -<% $Ticket->AdminCcAsString %> -
-
- - - - - - - - - - - -
Status: -<& /Elements/SelectStatus, Name=>"Status", Default => $DefaultStatus &> -Owner: -<& /Elements/SelectOwner, Name=>"Owner", Default => $Ticket->OwnerObj->Id(), QueueObj => $Ticket->QueueObj, TicketObj => $Ticket &> -Worked: minutes
Update Type: -
Subject:
Cc:
-(Sends a carbon-copy of this update to a comma-delimited list -of email addresses. Does not change who will receive future updates.) -
Bcc:
-(Sends a blind carbon-copy of this update to a comma-delimited list -of email addresses. Does not change who will receive future updates.) -
Attach:
-<& /Elements/MessageBox, Name=>"UpdateContent", QuoteTransaction=>$ARGS{QuoteTransaction} &> -
- - - - -<& /Elements/TitleBoxEnd &> -<& /Elements/Submit &> -
- - - -<%INIT> - -my $CanRespond = 0; -my $CanComment = 0; -my $title; - -my $Ticket = LoadTicket($id); - - -if ($DefaultStatus eq 'resolved') { - $title = "Resolve"; -} else { - $title = "Update"; -} - -$title .= " ticket #" . $Ticket->id . " (" .$Ticket->Subject.")"; - -# Things needed in the template - we'll do the processing here, just -# for the convinience: -my $CommentDefault=$Action eq "Comment" ? "SELECTED" : ""; -my $ResponseDefault=$Action eq "Respond" ? "SELECTED" : ""; - -$DefaultStatus = $Ticket->Status() unless ($DefaultStatus); - -$CanRespond = 1 if ( $Ticket->CurrentUserHasRight('ReplyToTicket') or - $Ticket->CurrentUserHasRight('ModifyTicket') ); - -$CanComment = 1 if ( $Ticket->CurrentUserHasRight('CommentOnTicket') or - $Ticket->CurrentUserHasRight('ModifyTicket') ); - - - - - - - -<%ARGS> -$id => undef -$Action => undef -$DefaultStatus => undef - -- cgit v1.2.1