X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fhtml%2FAdmin%2FGroups%2FModify.html;h=f3c13fe6f0668167bdf52525beb8078061ec30e7;hb=8103c1fc1b2c27a6855feadf26f91b980a54bc52;hp=0140a57e133089297d18d7f0483c6099dd89d266;hpb=d39d52aac8f38ea9115628039f0df5aa3ac826de;p=freeside.git diff --git a/rt/html/Admin/Groups/Modify.html b/rt/html/Admin/Groups/Modify.html index 0140a57e1..f3c13fe6f 100644 --- a/rt/html/Admin/Groups/Modify.html +++ b/rt/html/Admin/Groups/Modify.html @@ -1,8 +1,8 @@ -%# {{{ BEGIN BPS TAGGED BLOCK +%# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2004 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -22,7 +22,9 @@ %# %# You should have received a copy of the GNU General Public License %# along with this program; if not, write to the Free Software -%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +%# 02110-1301 or visit their web page on the internet at +%# http://www.gnu.org/copyleft/gpl.html. %# %# %# CONTRIBUTION SUBMISSION POLICY: @@ -42,7 +44,7 @@ %# works based on those contributions, and sublicense and distribute %# those contributions and any derivatives thereof. %# -%# }}} END BPS TAGGED BLOCK +%# END BPS TAGGED BLOCK }}} <& /Admin/Elements/Header, Title => $title &> <& /Admin/Elements/GroupTabs, @@ -53,28 +55,43 @@ -
+ %unless ($Group->Id) { - + % } else { - + % } - - + + + + + +% my $CFs = $Group->CustomFields; +% while (my $CF = $CFs->Next) { + +% } + + + +<& /Elements/Callback, GroupObj => $Group, results => \@results, %ARGS &> +
+ + - - - - - -
<&|/l&>Name: -
-<&|/l&>Description:
- -> <&|/l&>Enabled (Unchecking this box disables this group)
-
-<& /Elements/Submit, Label => loc('Create'), Reset => 1 &> +
+<&|/l&>Description:
+<% $CF->Name %>: + +<& /Elements/EditCustomField, CustomField => $CF, + Object => $Group, + ($Create ? (NamePrefix => 'Object-RT::Group--CustomField-') + : () )&> +
+ + /> <&|/l&>Enabled (Unchecking this box disables this group)
+
+<& /Elements/Submit, Label => loc('Save Changes'), Reset => 1 &>
<%INIT> @@ -124,6 +141,7 @@ if ($id) { Object => $Group, ARGSRef => \%ARGS ); push (@results,@fieldresults); + push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $Group ); } #we're asking about enabled on the web page but really care about disabled.