[Bps-public-commit] r19439 - RT-Extension-SLA/html/Tools/Reports
ruz at bestpractical.com
ruz at bestpractical.com
Tue May 5 10:46:41 EDT 2009
Author: ruz
Date: Tue May 5 10:46:40 2009
New Revision: 19439
Modified:
RT-Extension-SLA/html/Tools/Reports/SLA.html
Log:
* show user using a component
* show some simple form
Modified: RT-Extension-SLA/html/Tools/Reports/SLA.html
==============================================================================
--- RT-Extension-SLA/html/Tools/Reports/SLA.html (original)
+++ RT-Extension-SLA/html/Tools/Reports/SLA.html Tue May 5 10:46:40 2009
@@ -12,8 +12,10 @@
</tr>
% while ( my ($owner, $stats) = each %$result ) {
+% my $user = RT::User->new( $session{'CurrentUser'} );
+% $user->Load( $owner );
<tr>
-<td><% $owner %></td>
+<td><& /Elements/ShowUser, User => $user &></td>
% my $i = 1;
% foreach ( map $stats->{ $_ }, grep $i++%2, @columns ) {
<td><% $_ || 0 %></td>
@@ -22,6 +24,11 @@
% }
</table>
+<form method="post" action="SLA.html">
+<&|/l&>Query</&>:<textarea cols="60" rows="20" name="Query"><% $Query %></textarea>
+<& /Elements/Submit, Label => loc('Update report') &>
+</form>
+
<%ARGS>
$Query => undef
</%ARGS>
More information about the Bps-public-commit
mailing list