Version fix in mysql.sql.
[timetracker.git] / WEB-INF / templates / cf_dropdown_option_add.tpl
index b1deae9..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>
@@ -20,8 +20,8 @@
            <td colspan="2" align="center" height="50">{$forms.optionAddForm.btn_add.control}</td>
         </tr>
       </table>
-      {/if}
+{/if}
     </td>
   </tr>
 </table>
-{$forms.optionAddForm.close}
\ No newline at end of file
+{$forms.optionAddForm.close}