Changed required template elements to 3 stop sign emojis for visibility.
[timetracker.git] / WEB-INF / templates / tasks.tpl
index 0839d0c..647a6a7 100644 (file)
@@ -5,7 +5,7 @@
 <table cellspacing="0" cellpadding="7" border="0" width="720">
   <tr>
     <td valign="top">
-{if $user->canManageTeam()}
+{if $user->can('manage_tasks')}
       <table cellspacing="1" cellpadding="3" border="0" width="100%">
   {if $inactive_tasks}
         <tr><td class="sectionHeaderNoBorder">{$i18n.form.tasks.active_tasks}</td></tr>
@@ -31,7 +31,7 @@
       <table width="100%">
         <tr>
           <td align="center"><br>
-            <form><input type="button" onclick="chLocation('task_add.php');" value="{$i18n.button.add_task}"></form>
+            <form><input type="button" onclick="chLocation('task_add.php');" value="{$i18n.button.add}"></form>
           </td>
         </tr>
       </table>
@@ -58,7 +58,7 @@
       <table width="100%">
         <tr>
           <td align="center"><br>
-            <form><input type="button" onclick="chLocation('task_add.php');" value="{$i18n.button.add_task}"></form>
+            <form><input type="button" onclick="chLocation('task_add.php');" value="{$i18n.button.add}"></form>
           </td>
         </tr>
       </table>