second big RT integration checkin, customer linking/delinking interface
[freeside.git] / rt / html / Ticket / Elements / ShowSummary
1 %# BEGIN LICENSE BLOCK
2 %# 
3 %# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
4 %# 
5 %# (Except where explictly superceded by other copyright notices)
6 %# 
7 %# This work is made available to you under the terms of Version 2 of
8 %# the GNU General Public License. A copy of that license should have
9 %# been provided with this software, but in any event can be snarfed
10 %# from www.gnu.org.
11 %# 
12 %# This work is distributed in the hope that it will be useful, but
13 %# WITHOUT ANY WARRANTY; without even the implied warranty of
14 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 %# General Public License for more details.
16 %# 
17 %# Unless otherwise specified, all modifications, corrections or
18 %# extensions to this work which alter its source code become the
19 %# property of Best Practical Solutions, LLC when submitted for
20 %# inclusion in the work.
21 %# 
22 %# 
23 %# END LICENSE BLOCK
24       <TABLE WIDTH="100%" class="ticketsummary" >
25       <TR>
26         <TD VALIGN=TOP WIDTH="50%">
27           <& /Elements/TitleBoxStart, title => loc('The Basics'), 
28                 title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id, 
29                 title_class=> 'inverse',  
30                 color => "#993333" &>
31                 <& /Ticket/Elements/ShowBasics, Ticket => $Ticket &>
32           <& /Elements/TitleBoxEnd &>
33           <br>
34 % if ($Ticket->QueueObj->CustomFields()->First) {
35           <& /Elements/TitleBoxStart, title => loc('Custom Fields'), 
36                 title_href =>"$RT::WebPath/Ticket/Modify.html?id=".$Ticket->Id, 
37                 title_class=> 'inverse',  
38                 color => "#993333" &>
39                 <& /Ticket/Elements/ShowCustomFields, Ticket => $Ticket &>
40           <& /Elements/TitleBoxEnd &>
41
42 <br>
43 % }
44           <& /Elements/TitleBoxStart, title => loc('People'), 
45                 title_href =>"$RT::WebPath/Ticket/ModifyPeople.html?id=".$Ticket->Id, 
46                 title_class=> 'inverse',  
47                 color => "#333399" &>
48           <& /Ticket/Elements/ShowPeople, Ticket => $Ticket &>
49           <& /Elements/TitleBoxEnd &>
50           <br>
51
52           <& /Elements/TitleBoxStart, title => loc('Customers'),
53                 title_href =>"$RT::WebPath/Ticket/ModifyCustomers.html?id=".$Ticket->Id,
54                 title_class=> 'inverse',
55                 color => "#7f007b" &>
56           <& /Ticket/Elements/ShowCustomers, Ticket => $Ticket &>
57           <& /Elements/TitleBoxEnd &>
58
59         <BR>
60         </TD>
61         <TD VALIGN=TOP WIDTH="50%">
62
63           <& /Elements/TitleBoxStart, title => loc("Dates"),
64                 title_href =>"$RT::WebPath/Ticket/ModifyDates.html?id=".$Ticket->Id, 
65                 title_class=> 'inverse',  
66                  color => "#663366" &>
67           <& /Ticket/Elements/ShowDates, Ticket => $Ticket &>
68           <& /Elements/TitleBoxEnd &>
69         <BR>  
70           <& /Elements/TitleBoxStart, title => loc('Relationships'), 
71                 title_href => "$RT::WebPath/Ticket/ModifyLinks.html?id=".$Ticket->Id, 
72                 title_class=> 'inverse',  
73                 titleright => '', color=> "#336633" &>
74                 <& /Ticket/Elements/ShowLinks, Ticket => $Ticket &>
75         <& /Elements/TitleBoxEnd &>
76         <BR>
77           <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, Attachments => $Attachments &>
78
79           <& /Ticket/Elements/ShowRequestor, Ticket => $Ticket &>
80
81
82         </TD>
83       </TR>
84     </TABLE>
85 <%ARGS>
86 $Ticket => undef
87 $Attachments => undef
88 </%ARGS>
89
90
91
92