[Rt-commit] rt branch, admin_ui, updated. 23a7025ce9aa829f59e6ac633601b04e82f52304
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Wed Dec 23 03:12:41 EST 2009
The branch, admin_ui has been updated
via 23a7025ce9aa829f59e6ac633601b04e82f52304 (commit)
from 7d71ae8f834ad302968f3ea797eb0af686ccb17c (commit)
Summary of changes:
lib/RT/View/Admin/Groups.pm | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 23a7025ce9aa829f59e6ac633601b04e82f52304
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Dec 23 16:12:34 2009 +0800
/admin/groups/members view
diff --git a/lib/RT/View/Admin/Groups.pm b/lib/RT/View/Admin/Groups.pm
index 2df2fab..4eafdc3 100644
--- a/lib/RT/View/Admin/Groups.pm
+++ b/lib/RT/View/Admin/Groups.pm
@@ -107,7 +107,26 @@ page { title => _('Select Custom Fields for Group') } content {
};
template 'members' => page { title => _('Group Members') } content {
- my $self = shift;
+ my $self = shift;
+ my $group = RT::Model::Group->new;
+ $group->load( get('id') );
+ my $moniker = 'modify_group_members';
+ my $action = new_action(
+ class => 'EditGroupMembers',
+ moniker => $moniker,
+ );
+
+ $action->object($group);
+
+ with( name => $moniker ), form {
+ input {
+ type is 'hidden';
+ name is 'id';
+ value is get('id');
+ };
+ render_action($action);
+ form_submit( label => _('Save') );
+ };
};
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list