[Rt-commit] [svn] r1881 - in rt/branches/3.3-TESTING: . html/Admin/Elements

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Sat Nov 13 00:12:26 EST 2004


Author: jesse
Date: Sat Nov 13 00:12:26 2004
New Revision: 1881

Modified:
   rt/branches/3.3-TESTING/   (props changed)
   rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs
Log:
 r9221 at tinbook:  jesse | 2004-11-13T02:43:58.587708Z
 No longer show the "Applies To" tab for user and group Custom Fields.
 


Modified: rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs
==============================================================================
--- rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs	(original)
+++ rt/branches/3.3-TESTING/html/Admin/Elements/CustomFieldTabs	Sat Nov 13 00:12:26 2004
@@ -64,10 +64,6 @@
                 C => { title => loc('Basics'),
                        path  => "Admin/CustomFields/Modify.html?id=" . $id,
                 },
-                D => { title => loc('Applies to'),
-                       path  => "Admin/CustomFields/Objects.html?id=" . $id,
-                },
-
                 F => { title => loc('Group Rights'),
                        path  => "Admin/CustomFields/GroupRights.html?id="
                          . $id, },
@@ -79,8 +75,18 @@
             } }
 
     };
-}
 
+
+if ($cf->LookupType =~ /^RT::Queue/io) {
+    $tabs->{'C'}->{subtabs}->{D} = 
+
+                 { title => loc('Applies to'),
+                       path  => "Admin/CustomFields/Objects.html?id=" . $id,
+                },
+
+};
+
+}
 if ($session{'CurrentUser'}->HasRight( Object => $RT::System, Right => 'AdminCustomField')) {
   $tabs->{"A"} = { title => loc('Select custom field'),
                         path => "Admin/CustomFields/",


More information about the Rt-commit mailing list