Created ttDebugTracer class to hopefully help to address blank screen issues.
[timetracker.git] / WEB-INF / templates / cf_custom_field_add.tpl
index 82c6d83..442f41b 100644 (file)
@@ -2,7 +2,7 @@
 <table cellspacing="4" cellpadding="7" border="0">
   <tr>
     <td>
-{if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
       <table cellspacing="1" cellpadding="2" border="0">
         <tr>
           <td align="right">{$i18n.label.thing_name} (*):</td>
@@ -28,4 +28,4 @@
     </td>
   </tr>
 </table>
-{$forms.fieldForm.close}
\ No newline at end of file
+{$forms.fieldForm.close}