diff options
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/tktview.html')
| -rw-r--r-- | fs_selfservice/FS-SelfService/cgi/tktview.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/tktview.html b/fs_selfservice/FS-SelfService/cgi/tktview.html new file mode 100644 index 000000000..72634fee2 --- /dev/null +++ b/fs_selfservice/FS-SelfService/cgi/tktview.html @@ -0,0 +1,38 @@ +<%= $url = "$selfurl?session=$session_id;action="; ''; %> +<%= include('header', "View ticket #$ticket_id") %> + +<%= +if($error) { + $OUT .= qq! <div style="font-weight: bold; color: red; font-size: 110%">Error: $error</div> !; +} +elsif(@transactions) { + $OUT .= qq! <TABLE border="1">!; + foreach my $txn ( @transactions ) { + next if $txn->{content} eq 'This transaction appears to have no content'; + $OUT .= "<TR><TD><B>$txn->{created} $txn->{description}</B>"; + $OUT .= "<PRE>$txn->{content}</PRE></TD></TR>"; + } + $OUT .= "</TABLE>"; +} +else { + $OUT .= "No transactions on this ticket"; +} +%> +<BR><BR><BR> +<FORM ACTION="<%=$selfurl%>" METHOD=POST> + <input type="hidden" name="session" value="<%=$session_id%>"> + <input type="hidden" name="ticket_id" value="<%=$ticket_id%>"> +<%= if ( $edit_ticket_subject ) { $OUT .= ' + Subject:<BR><input type="text" name="subject" value="' . + $ticket_fields{'subject'} . '" style="width:440px"> + <BR><BR>'; +} +%> + <input type="hidden" name="action" value="tktview"> + Add reply to ticket: + <BR> + <textarea name="reply" cols="60" rows="10" style="width:440px"></textarea> + <BR><input type="submit" value="Reply"> +</form> + +<%= include('footer') %> |
