[Rt-commit] r19432 - rt/3.999/trunk/lib/RT/View/Admin
sartak at bestpractical.com
sartak at bestpractical.com
Mon May 4 19:29:23 EDT 2009
Author: sartak
Date: Mon May 4 19:29:23 2009
New Revision: 19432
Modified:
rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm
rt/3.999/trunk/lib/RT/View/Admin/Groups.pm
rt/3.999/trunk/lib/RT/View/Admin/Queues.pm
rt/3.999/trunk/lib/RT/View/Admin/Rules.pm
rt/3.999/trunk/lib/RT/View/Admin/Users.pm
Log:
Remove inline editing from admin CRUD
Modified: rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin/CustomFields.pm Mon May 4 19:29:23 2009
@@ -59,5 +59,8 @@
use constant tab_url => '/Admin/Elements/CustomFieldTabs';
use constant current_tab => 'Admin/Queues/';
+# no inline edit
+private template view_item_controls => sub { };
+
1;
Modified: rt/3.999/trunk/lib/RT/View/Admin/Groups.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/View/Admin/Groups.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin/Groups.pm Mon May 4 19:29:23 2009
@@ -59,6 +59,9 @@
use constant display_columns => qw(id name description);
+# no inline edit
+private template view_item_controls => sub { };
+
sub _current_collection {
my $self = shift;
my $c = $self->SUPER::_current_collection();
Modified: rt/3.999/trunk/lib/RT/View/Admin/Queues.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/View/Admin/Queues.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin/Queues.pm Mon May 4 19:29:23 2009
@@ -59,5 +59,8 @@
use constant tab_url => '/Admin/Elements/QueueTabs';
use constant current_tab => 'Admin/Queues/';
+# no inline edit
+private template view_item_controls => sub { };
+
1;
Modified: rt/3.999/trunk/lib/RT/View/Admin/Rules.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/View/Admin/Rules.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin/Rules.pm Mon May 4 19:29:23 2009
@@ -59,6 +59,9 @@
use constant display_columns => qw(id description condition_code prepare_code action_code);
+# no inline edit
+private template view_item_controls => sub { };
+
sub _current_collection {
my $self = shift;
my $c = $self->SUPER::_current_collection();
Modified: rt/3.999/trunk/lib/RT/View/Admin/Users.pm
==============================================================================
--- rt/3.999/trunk/lib/RT/View/Admin/Users.pm (original)
+++ rt/3.999/trunk/lib/RT/View/Admin/Users.pm Mon May 4 19:29:23 2009
@@ -59,6 +59,9 @@
use constant tab_url => '/Admin/Elements/UserTabs';
use constant current_tab => 'Admin/Users/';
+# no inline edit
+private template view_item_controls => sub { };
+
# limit to privileged users
sub _current_collection {
my $self = shift;
More information about the Rt-commit
mailing list