X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FCustomFields%2FObjects.html;h=26183acc1e881b922b6433ae5c20410eab5ad3a5;hb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;hp=8fb00a8125835368f268c0e30c0b1662b55ff898;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Admin/CustomFields/Objects.html b/rt/share/html/Admin/CustomFields/Objects.html index 8fb00a812..26183acc1 100644 --- a/rt/share/html/Admin/CustomFields/Objects.html +++ b/rt/share/html/Admin/CustomFields/Objects.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,11 +46,7 @@ %# %# END BPS TAGGED BLOCK }}} <& /Admin/Elements/Header, Title => $title &> -<& /Admin/Elements/CustomFieldTabs, - id => $id, - current_tab => "Admin/CustomFields/Objects.html?id=".$id, - Title => $title - &> +<& /Elements/Tabs &> <& /Elements/ListActions, actions => \@results &> @@ -67,6 +63,7 @@ <&|/l&>check this box to apply this Custom Field to all objects. +% unless ( $CF->ApplyGlobally ) {

<&|/l&>Selected objects

<& /Elements/CollectionList, OrderBy => 'id', @@ -102,12 +99,14 @@ % } +% } + <& /Elements/Submit, Name => 'UpdateObjs' &> <%INIT> my $CF = RT::CustomField->new($session{'CurrentUser'}); -$CF->Load($id) or Abort(loc("Could not load CustomField [_1]"), $id); +$CF->Load($id) or Abort(loc("Could not load CustomField [_1]", $id)); my $class = $CF->RecordClassFromLookupType; Abort(loc("Something wrong. Contact system administrator"))