Added a capability to add attachment on project_add.php.
[timetracker.git] / WEB-INF / templates / cf_dropdown_option_add.tpl
index 8ef5286..bcc1cee 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,4 +24,4 @@
     </td>
   </tr>
 </table>
-{$forms.optionAddForm.close}
\ No newline at end of file
+{$forms.optionAddForm.close}