X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fwebrt%2FElements%2FViewUser;fp=rt%2Fwebrt%2FElements%2FViewUser;h=92446e6efa2542789ae102afc993eaf2885de6d0;hp=0000000000000000000000000000000000000000;hb=3ef62a0570055da710328937e7f65dbb2c027c62;hpb=030438c9cb1c12ccb79130979ef0922097b4311a diff --git a/rt/webrt/Elements/ViewUser b/rt/webrt/Elements/ViewUser new file mode 100644 index 000000000..92446e6ef --- /dev/null +++ b/rt/webrt/Elements/ViewUser @@ -0,0 +1,29 @@ + +<& /Elements/TitleBoxStart, + title => "id."\">Tickets from $name", + titleright=> "id."\">Comments about $name" &> + + + + +
+%while (my $w=$tickets->Next) { +<%$w->Id%>: <%$w->Subject%> (<%$w->Status%>)
+%} +
+ <% ($User->Comments || "No comment entered about this user") %> +
+<& /Elements/TitleBoxEnd &> + +<%ARGS> +$User=>undef + + +<%INIT> +my $name=$User->RealName || $User->EmailAddress; + +my $tickets = new RT::Tickets($session{'CurrentUser'}); +$tickets->LimitRequestor(VALUE => $User->EmailAddress); + + +