[Rt-commit] r6804 - in rtir/branches/2.3-EXPERIMENTAL/html/RTIR:
Elements
ruz at bestpractical.com
ruz at bestpractical.com
Tue Jan 23 19:43:12 EST 2007
Author: ruz
Date: Tue Jan 23 19:43:11 2007
New Revision: 6804
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/AddWatchers
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html
Log:
* switch to generic ShowUser
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/AddWatchers
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/AddWatchers (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/AddWatchers Tue Jan 23 19:43:11 2007
@@ -31,7 +31,7 @@
<tr><td><&|/l&>Type</&></td><td><&|/l&>Username</&></td></tr>
% while ( my $u = $Users->Next ) {
<tr><td><& /Elements/SelectWatcherType, Name => "Ticket-AddWatcher-Principal-". $u->PrincipalId &></td>
-<td><% $u->Name %> (<% $u->RealName %>)</td></tr>
+<td><& /Elements/ShowUser, User => $u &></td></tr>
% }
% }
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html Tue Jan 23 19:43:11 2007
@@ -80,7 +80,7 @@
<td class="label"><&|/l&>Owner</&>:</td>
% if ( $ChildObj ) {
<td class="value">
- <% $ChildObj->OwnerObj->Name %>
+ <& /Elements/ShowUser, $ChildObj->OwnerObj &>
<input type="hidden" name="Owner" value="<% $ChildObj->Owner %>" />
</td>
% } else {
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Display.html Tue Jan 23 19:43:11 2007
@@ -40,7 +40,7 @@
<table>
<tr>
<td class="label"><&|/l&>Owner</&>:</td>
- <td class="value"><%$TicketObj->OwnerObj->Name%></td>
+ <td class="value"><& /Elements/ShowUser, User => $TicketObj->OwnerObj &></td>
</tr>
<tr>
<td class="label">
More information about the Rt-commit
mailing list