[Rt-commit] r6799 - in rt/branches/3.7-EXPERIMENTAL: .
html/Admin/CustomFields html/Admin/Elements html/Admin/Groups
html/Admin/Queues html/Admin/Users html/Elements html/Search
html/Ticket/Elements html/User/Groups
ruz at bestpractical.com
ruz at bestpractical.com
Tue Jan 23 19:11:52 EST 2007
Author: ruz
Date: Tue Jan 23 19:11:50 2007
New Revision: 6799
Added:
rt/branches/3.7-EXPERIMENTAL/html/Elements/ShowUser
- copied unchanged from r6798, /rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowUserEntry
Removed:
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowUserEntry
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html
rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectModifyUser
rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectNewGroupMembers
rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectUsers
rt/branches/3.7-EXPERIMENTAL/html/Admin/Global/UserRights.html
rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/Members.html
rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/UserRights.html
rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/People.html
rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/UserRights.html
rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/index.html
rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectOwner
rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/AddWatchers
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/EditWatchers
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGroupMembers
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowPeople
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor
rt/branches/3.7-EXPERIMENTAL/html/User/Groups/Members.html
Log:
r4432 at cubic-pc: cubic | 2007-01-24 03:20:37 +0300
* /Ticket/Elements/ShowUserEntry -> /Elements/ShowUser
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/CustomFields/UserRights.html Tue Jan 23 19:11:50 2007
@@ -60,7 +60,7 @@
% my $group = RT::Group->new($session{'CurrentUser'});
% $group->LoadACLEquivalenceGroup($Member->MemberObj);
<tr align="right">
- <td valign="top"><& /Ticket/Elements/ShowUserEntry, User => $UserObj &></td>
+ <td valign="top"><& /Elements/ShowUser, User => $UserObj &></td>
<td>
<& /Admin/Elements/SelectRights, PrincipalId=> $group->PrincipalId,
Object => $CustomFieldObj &>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectModifyUser
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectModifyUser (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectModifyUser Tue Jan 23 19:11:50 2007
@@ -44,7 +44,7 @@
%#
%# END BPS TAGGED BLOCK }}}
%while ( $user = $users->Next) {
-<a href="Modify.html?id=<%$user->id%>"><%$user->id%>: <& /Ticket/Elements/ShowUserEntry, User => $user &></a><br />
+<a href="Modify.html?id=<%$user->id%>"><%$user->id%>: <& /Elements/ShowUser, User => $user &></a><br />
%}
<%INIT>
my ($user);
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectNewGroupMembers
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectNewGroupMembers (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectNewGroupMembers Tue Jan 23 19:11:50 2007
@@ -48,7 +48,7 @@
<select multiple name="<% $Name %>Users" size="10">
% while ( my $user = $users->Next ) {
% next if $SkipUsers->{ $user->id };
-<option value="User-<% $user->id %>"><& /Ticket/Elements/ShowUserEntry, User => $user &></option>
+<option value="User-<% $user->id %>"><& /Elements/ShowUser, User => $user &></option>
% }
</select>
<br />
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectUsers
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectUsers (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Elements/SelectUsers Tue Jan 23 19:11:50 2007
@@ -46,7 +46,7 @@
<select multiple name="<% $Name %>" size="10">
% while ( my $user = $users->Next ) {
<option value="<% $user->id %>">\
-<& /Ticket/Elements/ShowUserEntry, User => $user &>\
+<& /Elements/ShowUser, User => $user &>\
</option>
% }
</select>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Global/UserRights.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Global/UserRights.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Global/UserRights.html Tue Jan 23 19:11:50 2007
@@ -59,7 +59,7 @@
% my $group = RT::Group->new($session{'CurrentUser'});
% $group->LoadACLEquivalenceGroup( $Member->MemberObj );
<tr align="right">
- <td valign="top"><& /Ticket/Elements/ShowUserEntry, User => $UserObj &></td>
+ <td valign="top"><& /Elements/ShowUser, User => $UserObj &></td>
<td><& /Admin/Elements/SelectRights,
PrincipalId => $group->PrincipalId,
Object => $RT::System,
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/Members.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/Members.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/Members.html Tue Jan 23 19:11:50 2007
@@ -80,7 +80,7 @@
% while ( my $user = $Users->Next ) {
% $UsersSeen{ $user->id } = 1 if $SkipSeenUsers;
<li><input type="checkbox" class="checkbox" name="DeleteMember-<% $user->PrincipalObj->Id %>" value="1" />
-<& '/Ticket/Elements/ShowUserEntry', User => $user &></li>
+<& '/Elements/ShowUser', User => $user &></li>
% }
</ul>
<&|/l&>Groups</&>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/UserRights.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/UserRights.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Groups/UserRights.html Tue Jan 23 19:11:50 2007
@@ -58,7 +58,7 @@
% while ( my $Member = $Users->Next ) {
% my $UserObj = $Member->MemberObj->Object;
<tr align="right">
- <td valign="top"><& /Ticket/Elements/ShowUserEntry, User => $UserObj &></td>
+ <td valign="top"><& /Elements/ShowUser, User => $UserObj &></td>
<td><& /Admin/Elements/SelectRights,
PrincipalId => $Member->MemberObj->Id,
PrincipalType => 'User',
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/People.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/People.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/People.html Tue Jan 23 19:11:50 2007
@@ -97,7 +97,7 @@
Scope => 'queue',
Name => "Queue-AddWatcher-Principal-". $u->PrincipalId,
&>
-<& /Ticket/Elements/ShowUserEntry, User => $u &></li>
+<& /Elements/ShowUser, User => $u &></li>
% }
</ul>
% }
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/UserRights.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/UserRights.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Queues/UserRights.html Tue Jan 23 19:11:50 2007
@@ -61,7 +61,7 @@
% my $group = RT::Group->new($session{'CurrentUser'});
% $group->LoadACLEquivalenceGroup($Member->MemberObj);
<tr align="right">
- <td valign="top"><& /Ticket/Elements/ShowUserEntry, User => $UserObj &></td>
+ <td valign="top"><& /Elements/ShowUser, User => $UserObj &></td>
<td>
<& /Admin/Elements/SelectRights, PrincipalId=> $group->PrincipalId,
Object => $QueueObj &>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/index.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/index.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Admin/Users/index.html Tue Jan 23 19:11:50 2007
@@ -58,7 +58,7 @@
% my @ids;
% while ( $user = $users->Next ) {
% push @ids, $user->Id;
-<li><a href="Modify.html?id=<% $user->id %>"><& /Ticket/Elements/ShowUserEntry, User => $user &></a></li>
+<li><a href="Modify.html?id=<% $user->id %>"><& /Elements/ShowUser, User => $user &></a></li>
%}
</ul>
% if ( my $ids = join(',', @ids) ) {
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectOwner
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectOwner (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/SelectOwner Tue Jan 23 19:11:50 2007
@@ -54,7 +54,7 @@
%} elsif ($ValueAttribute eq 'Name') {
value="<%$User->Name%>"
%}
-><& /Ticket/Elements/ShowUserEntry, User => $User &></option>
+><& /Elements/ShowUser, User => $User &></option>
%}
</select>
<%INIT>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Search/Results.rdf Tue Jan 23 19:11:50 2007
@@ -69,7 +69,7 @@
while ( my $Ticket = $Tickets->Next()) {
- my $creator_str = $m->scomp('/Ticket/Elements/ShowUserEntry', User => $Ticket->CreatorObj);
+ my $creator_str = $m->scomp('/Elements/ShowUser', User => $Ticket->CreatorObj);
$creator_str =~ s/[\r\n]//g;
$rss->add_item(
title => $Ticket->Subject,
Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/AddWatchers
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/AddWatchers (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/AddWatchers Tue Jan 23 19:11:50 2007
@@ -53,7 +53,7 @@
<&|/l&>Username</&>
</td></tr>
% while (my $u = $Users->Next ) {
-<tr><td><&/Elements/SelectWatcherType, Name => "Ticket-AddWatcher-Principal-". $u->PrincipalId &></td><td><& 'ShowUserEntry', User => $u &></td></tr>
+<tr><td><&/Elements/SelectWatcherType, Name => "Ticket-AddWatcher-Principal-". $u->PrincipalId &></td><td><& '/Elements/ShowUser', User => $u &></td></tr>
% }
% }
Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/EditWatchers
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/EditWatchers (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/EditWatchers Tue Jan 23 19:11:50 2007
@@ -56,7 +56,7 @@
<input type="checkbox" class="checkbox" name="Ticket-DeleteWatcher-Type-<% $Watchers->Type %>-Principal-<% $watcher->MemberId %>" value="1" unchecked />
% if ( $member->isa( 'RT::User' ) ) {
<a href="<% RT->Config->Get('WebPath') %>/Admin/Users/Modify.html?id=<% $watcher->MemberId %>">
-<& ShowUserEntry, User => $member &></a>
+<& /Elements/ShowUser, User => $member &></a>
% } else {
<a href="<% RT->Config->Get('WebPath') %>/Admin/Groups/Modify.html?id=<% $watcher->MemberId %>">
<% $member->Name %></a>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGroupMembers
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGroupMembers (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGroupMembers Tue Jan 23 19:11:50 2007
@@ -47,7 +47,7 @@
% my $UserMembers = $Group->UserMembersObj;
% while (my $member = $UserMembers->Next()) {
-<& ShowUserEntry, User => $member &><br />
+<& /Elements/ShowUser, User => $member &><br />
% }
% my $GroupMembers = $Group->MembersObj;
% $GroupMembers->LimitToGroups();
Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowPeople
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowPeople (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowPeople Tue Jan 23 19:11:50 2007
@@ -46,7 +46,7 @@
<table>
<tr>
<td class="label"><&|/l&>Owner</&>:</td>
- <td class="value"><& ShowUserEntry, User => $Ticket->OwnerObj &></td>
+ <td class="value"><& /Elements/ShowUser, User => $Ticket->OwnerObj &></td>
</tr>
<tr>
<td class="labeltop"><&|/l&>Requestors</&>:</td>
Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowRequestor Tue Jan 23 19:11:50 2007
@@ -49,7 +49,7 @@
my $people = $Ticket->Requestors->UserMembersObj;
while ( my $requestor = $people->Next ) {
next if $requestor->Privileged;
- my $name = $m->scomp('ShowUserEntry', User => $requestor);
+ my $name = $m->scomp('/Elements/ShowUser', User => $requestor);
my $tickets = RT::Tickets->new( $session{'CurrentUser'} );
$tickets->FromSQL( "Requestor.id = ". $requestor->id ." AND (Status = 'open' OR Status = 'new')" );
Modified: rt/branches/3.7-EXPERIMENTAL/html/User/Groups/Members.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/User/Groups/Members.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/User/Groups/Members.html Tue Jan 23 19:11:50 2007
@@ -82,7 +82,7 @@
<ul>
% while (my $member = $UserMembers->Next()) {
<li><input type="checkbox" class="checkbox" name="DeleteMember-<%$member->MemberId%>" value="1" />
-<& /Ticket/Elements/ShowUserEntry, User => $member->MemberObj->Object &>
+<& /Elements/ShowUser, User => $member->MemberObj->Object &>
% }
</ul>
<&|/l&>Groups</&>
More information about the Rt-commit
mailing list