[Rt-commit] r12706 - in rt/branches/3.8-TESTING: . share/html/Admin/Groups
elacour at bestpractical.com
elacour at bestpractical.com
Wed May 28 03:56:45 EDT 2008
Author: elacour
Date: Wed May 28 03:56:44 2008
New Revision: 12706
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm
rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html
Log:
r8964 at datura: manu | 2008-05-28 09:56:14 +0200
Fix enabling/disabling group message (s/Enable status succceeded/Group disabled|Group enabled/).
Modified: rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Group_Overlay.pm Wed May 28 03:56:44 2008
@@ -710,7 +710,11 @@
}
$RT::Handle->Commit();
- return (1, $self->loc("Succeeded"));
+ if ( $val == 1 ) {
+ return (1, $self->loc("Group disabled"));
+ } else {
+ return (1, $self->loc("Group enabled"));
+ }
}
Modified: rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html (original)
+++ rt/branches/3.8-TESTING/share/html/Admin/Groups/Modify.html Wed May 28 03:56:44 2008
@@ -153,7 +153,7 @@
}
if ( ($SetEnabled) and ( $Disabled != $Group->Disabled) ) {
my ($code, $msg) = $Group->SetDisabled($Disabled);
- push @results, loc('Enabled status [_1]', loc_fuzzy($msg));
+ push @results, $msg;
}
unless ($Group->Disabled()) {
More information about the Rt-commit
mailing list