[Rt-commit] r7494 - in rtir/branches/2.3-EXPERIMENTAL: .

jesse at bestpractical.com jesse at bestpractical.com
Thu Apr 12 04:42:16 EDT 2007


Author: jesse
Date: Thu Apr 12 04:42:15 2007
New Revision: 7494

Modified:
   rtir/branches/2.3-EXPERIMENTAL/   (props changed)
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html

Log:
 r54790 at pinglin:  jesse | 2007-04-12 03:49:16 -0400
 * Fixed RTIR/Update.html to use the ShowUser widget


Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Update.html	Thu Apr 12 04:42:15 2007
@@ -48,25 +48,23 @@
 <font size="-1">
 
 <table>
-<tr><td>
-<a href="Edit.html?id=<% $id %>"><&|/l&>Correspondents</&></a></td><td align="right">
-<&|/l&>Requestor</&>:
-</td><td>
-<b><% $Ticket->RequestorAddresses %></b>
-</td></tr>
-<tr><td>&nbsp;</td><td align="right">
-<&|/l&>Cc</&>:
-</td><td>
-<b><% $Ticket->CcAddresses %></b>
-</td></tr>
-<tr><td>&nbsp;</td><td align="right">
-<&|/l&>AdminCc</&>:
-</td><td>
-<b><% $Ticket->AdminCcAddresses %></b>
+<tr><td><a href="Edit.html?id=<% $id %>"><&|/l&>Correspondents</&></a></td><td align="right" colspan=2></td></tr>
+
+
+% foreach my $type (qw(Requestors Cc AdminCc)) { 
+<tr><td>&nbsp;</td><td align="right" valign="top">
+<%loc($type)%>:
+</td><td valign="top">
+<ul class="userlist">
+% my $people = $Ticket->$type()->UserMembersObj;
+% while (my $person = $people->Next) {
+<li><& /Elements/ShowUser, User => $person &></li>
+% }
+</ul>
 </td></tr>
-</tr>
+% }
 </table>
-<hr>
+<hr />
 
 <table border="0">
 


More information about the Rt-commit mailing list