Fixed charts for negative hours.
[timetracker.git] / WEB-INF / templates / cf_dropdown_option_delete.tpl
index 214306a..bec03cc 100644 (file)
@@ -2,10 +2,10 @@
 <table cellspacing="4" cellpadding="7" border="0">
   <tr>
     <td>
-{if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
       <table cellspacing="0" cellpadding="0" border="0">
         <tr>
-          <td colspan="2" align="center"><b>{$option|escape:'html'}</b></td>
+          <td colspan="2" align="center"><b>{$option|escape}</b></td>
         </tr>
         <tr>
           <td colspan="2" align="center">&nbsp;</td>
@@ -19,4 +19,4 @@
     </td>
   </tr>
 </table>
-{$forms.optionDeleteForm.close}
\ No newline at end of file
+{$forms.optionDeleteForm.close}