summaryrefslogtreecommitdiff
path: root/rt/webrt/Ticket/Elements/ShowLinks
blob: 49795959e1437c519598e11acb7c5d39c1eecc95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Depends on:<BR>
<UL>
% while (my $Link = $Ticket->DependsOn->Next) {
% my $member = $Link->TargetObj;
<LI><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%>
[<%$member->Status%>]

% }
</UL>

Depended on by:<BR>
<UL>
% while (my $Link = $Ticket->DependedOnBy->Next) {
% my $member = $Link->BaseObj;
<LI><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> 
[<%$member->Status%>]
% }
</UL>
Parents:<BR>	
<UL>
% while (my $Link = $Ticket->MemberOf->Next) {
% my $member = $Link->TargetObj;
<LI><a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%>
[<%$member->Status%>]

% }
</UL>

Children:<BR>
<& /Ticket/Elements/ShowMembers, Ticket => $Ticket &>
<BR>
Refers to:<BR>
<UL>
% while (my $Link = $Ticket->RefersTo->Next) {
<LI>
% if ($Link->TargetIsLocal) {
% my $member = $Link->TargetObj;

<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<%$member->Status%>]<br>
% } else {
<A HREF="<%$Link->TargetAsHREF%>"><%$Link->Target%></A>
% }
%}
</UL>

Referred to by:<BR>
<UL>
% while (my $Link = $Ticket->ReferredToBy->Next) {
<LI>
% if ($Link->BaseIsLocal) {
% my $member = $Link->BaseObj;
<a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$member->Id%>"><%$member->Id%></a>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<%$member->Status%>]<br>
% } else {
<A HREF="<%$Link->BaseAsHREF%>"><%$Link->Base%></A>
%}
% }
</UL>

<%ARGS>
$Ticket => undef
</%ARGS>