{foreach $active_users as $u}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>
- {if $smarty.const.ENTRIES_USERS_PAGE == $user->uncompleted_entries}
+ {if $smarty.const.UNCOMPLETED_INDICATORS == $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}
{if $user->isManager()}
{foreach $active_users as $u}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>
- {if $smarty.const.ENTRIES_USERS_PAGE == $user->uncompleted_entries}
+ {if $smarty.const.UNCOMPLETED_INDICATORS == $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'}
}
// Check if the user wants to show uncompleted time entries.
-if (ENTRIES_USERS_PAGE == $user->uncompleted_entries) {
+if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) {
// Check each active user if they have an uncompleted time entry.
foreach ($active_users as $key => $user) {
$active_users[$key]['has_uncompleted_entry'] = (bool) ttTimeHelper::getUncompleted($user['id']);
}
// Check if the user wants to show uncompleted time entries.
-if (ENTRIES_USERS_PAGE == $user->uncompleted_entries) {
+if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) {
// Check each active user if they have an uncompleted time entry.
foreach ($active_users as $key => $user) {
$active_users[$key]['has_uncompleted_entry'] = (bool) ttTimeHelper::getUncompleted($user['id']);