Started to replace canManageTeam calls with right checks.
[timetracker.git] / WEB-INF / templates / mobile / users.tpl
index 956ee55..f4a8ec5 100644 (file)
@@ -19,7 +19,7 @@
     {foreach $active_users as $u}
         <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
           <td>
-            {if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_indicators}
+            {if $user->uncompleted_indicators}
               <span class="uncompleted-entry{if $u.has_uncompleted_entry} active{/if}"{if $u.has_uncompleted_entry} title="{$i18n.form.users.uncompleted_entry}"{/if}></span>
             {/if}
             {if $user->isManager()}
@@ -50,7 +50,7 @@
       <table width="100%">
         <tr>
           <td align="center"><br>
-            <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add_user}"></form>
+            <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add}"></form>
           </td>
         </tr>
       </table>
@@ -98,7 +98,7 @@
       <table width="100%">
         <tr>
           <td align="center" height="50">
-            <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add_user}"></form>
+            <form><input type="button" onclick="chLocation('user_add.php');" value="{$i18n.button.add}"></form>
           </td>
         </tr>
       </table>