Fixed approve_all_reports right assignment and check.
[timetracker.git] / WEB-INF / templates / cf_dropdown_option_edit.tpl
index f0e57f9..c2b0bae 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.optionEditForm.btn_save.control}</td>
         </tr>
       </table>
-      {/if}
+{/if}
     </td>
   </tr>
 </table>
-{$forms.optionEditForm.close}
\ No newline at end of file
+{$forms.optionEditForm.close}