[Rt-commit] rt branch, admin_ui, updated. 9029e25ae04c307ef25348ce164f2ac7b455f0b5
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Dec 15 03:07:25 EST 2009
The branch, admin_ui has been updated
via 9029e25ae04c307ef25348ce164f2ac7b455f0b5 (commit)
from 9238f934c272e9ce28e78925f7210173c7d3486e (commit)
Summary of changes:
lib/RT/View/Admin/Global/Workflows.pm | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 9029e25ae04c307ef25348ce164f2ac7b455f0b5
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 15 16:07:05 2009 +0800
/admin/global/workflows/statuses view
diff --git a/lib/RT/View/Admin/Global/Workflows.pm b/lib/RT/View/Admin/Global/Workflows.pm
index 78eb73a..dea3aa7 100644
--- a/lib/RT/View/Admin/Global/Workflows.pm
+++ b/lib/RT/View/Admin/Global/Workflows.pm
@@ -149,5 +149,24 @@ template 'interface' => page {
};
}
+template 'statuses' => page {
+ title => _('Workflow Statuses'),
+} content {
+ my $self = shift;
+ my $name = get('name');
+ my $moniker = 'modify_workflow_statuses';
+ my $action = new_action(
+ class => 'EditWorkflowStatuses',
+ moniker => $moniker,
+ );
+ $action->name( $name );
+ my $args = $action->arguments;
+ with( name => $moniker ), form {
+ input { type is 'hidden'; name is 'name'; value is $name };
+ render_action($action);
+ form_submit( label => _('Update') );
+ };
+}
+
1;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list