Work in progress renaming things.
[timetracker.git] / WEB-INF / templates / users.tpl
index f343f9c..d537dda 100644 (file)
   {if $active_users}
     {foreach $active_users as $u}
         <tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
-          <td>{$u.name|escape:'html'}</td>
+          <td>
+          {if $smarty.const.ENTRIES_USERS_PAGE == $user->uncompleted_entries}
+            <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}
+            {$u.name|escape:'html'}
+          </td>
           <td>{$u.login|escape:'html'}</td>
       {if $smarty.const.ROLE_MANAGER == $u.role}
             <td>{$i18n.form.users.manager}</td>
@@ -44,7 +49,7 @@
     {/foreach}
   {/if}
       </table>
-      
+
       <table width="100%">
         <tr>
           <td align="center"><br>
@@ -89,7 +94,7 @@
     {/foreach}
 
       </table>
-      
+
       <table width="100%">
         <tr>
           <td align="center" height="50">
 {/if}
     </td>
   </tr>
-</table>
\ No newline at end of file
+</table>