More work in progress on remote work plugin.
[timetracker.git] / WEB-INF / templates / cf_custom_field_delete.tpl
index d6746b0..fae6d80 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>{$field|escape:'html'}</b></td>
+          <td colspan="2" align="center"><b>{$field|escape}</b></td>
         </tr>
         <tr>
           <td colspan="2" align="center">&nbsp;</td>