[Rt-commit] r19313 - in rt/3.999/trunk/lib/RT/View: Admin
sartak at bestpractical.com
sartak at bestpractical.com
Tue Apr 21 05:10:41 EDT 2009
Author: sartak
Date: Tue Apr 21 05:10:41 2009
New Revision: 19313
Added:
rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm
- copied, changed from r19310, /rt/3.999/trunk/lib/RT/View/Admin.pm
Modified:
rt/3.999/trunk/lib/RT/View/Admin.pm
Log:
Basic CF CRUD
Modified: rt/3.999/trunk/lib/RT/View/Admin.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/View/Admin.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin.pm Tue Apr 21 05:10:41 2009
@@ -60,5 +60,8 @@
require RT::View::Admin::Queues;
alias RT::View::Admin::Queues under 'queues/';
+require RT::View::Admin::CustomFields;
+alias RT::View::Admin::CustomFields under 'custom_fields/';
+
1;
Copied: rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm (from r19310, /rt/3.999/trunk/lib/RT/View/Admin.pm)
==============================================================================
--- /rt/3.999/trunk/lib/RT/View/Admin.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm Tue Apr 21 05:10:41 2009
@@ -48,17 +48,16 @@
use warnings;
use strict;
-package RT::View::Admin;
+package RT::View::Admin::CustomFields;
use Jifty::View::Declare -base;
+use base 'RT::View::CRUD';
-require RT::View::Admin::Groups;
-alias RT::View::Admin::Groups under 'groups/';
+use constant page_title => 'Custom Field Management';
+use constant object_type => 'CustomField';
+use constant display_columns => qw(name type);
-require RT::View::Admin::Users;
-alias RT::View::Admin::Users under 'users/';
-
-require RT::View::Admin::Queues;
-alias RT::View::Admin::Queues under 'queues/';
+use constant tab_url => '/Admin/Elements/CustomFieldTabs';
+use constant current_tab => 'Admin/Queues/';
1;
More information about the Rt-commit
mailing list