Created ttDebugTracer class to hopefully help to address blank screen issues.
[timetracker.git] / WEB-INF / templates / cf_custom_field_add.tpl
index f1fffc2..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>
@@ -24,8 +24,8 @@
           <td colspan="2" align="center" height="50">{$forms.fieldForm.btn_add.control}</td>
         </tr>
       </table>
-    {/if}
+{/if}
     </td>
   </tr>
 </table>
-{$forms.fieldForm.close}
\ No newline at end of file
+{$forms.fieldForm.close}