blob: 92446e6efa2542789ae102afc993eaf2885de6d0 (
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
|
<& /Elements/TitleBoxStart,
title => "<a class='inverse' href=\"$RT::WebPath/Search/Listing.html?LimitRequestorById=1&IdOfRequestor=".$User->id."\">Tickets from $name</a>",
titleright=> "<a class='inverse' href=\"$RT::WebPath/EditUserComments.html?id=".$User->id."\">Comments about $name</a>" &>
<TABLE WIDTH="100%">
<tr>
<td halign=left valign=top>
%while (my $w=$tickets->Next) {
<%$w->Id%>: <a href="<%$RT::WebPath%>/Ticket/Display.html?id=<%$w->id%>"><%$w->Subject%></a> (<%$w->Status%>)<BR>
%}
</td>
<td align=right valign=top>
<% ($User->Comments || "No comment entered about this user") %>
</tr>
</table>
<& /Elements/TitleBoxEnd &>
<%ARGS>
$User=>undef
</%ARGS>
<%INIT>
my $name=$User->RealName || $User->EmailAddress;
my $tickets = new RT::Tickets($session{'CurrentUser'});
$tickets->LimitRequestor(VALUE => $User->EmailAddress);
</%INIT>
|