From df370652d9dff5881b911e72cbc050ee757630f8 Mon Sep 17 00:00:00 2001 From: anuko Date: Sun, 23 Oct 2016 14:35:48 +0000 Subject: [PATCH] Some more renaming. --- WEB-INF/templates/mobile/users.tpl | 2 +- WEB-INF/templates/users.tpl | 2 +- mobile/users.php | 2 +- users.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WEB-INF/templates/mobile/users.tpl b/WEB-INF/templates/mobile/users.tpl index bd2f0f4f..e43f0f67 100644 --- a/WEB-INF/templates/mobile/users.tpl +++ b/WEB-INF/templates/mobile/users.tpl @@ -19,7 +19,7 @@ {foreach $active_users as $u} - {if $smarty.const.ENTRIES_USERS_PAGE == $user->uncompleted_entries} + {if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_entries} {/if} {if $user->isManager()} diff --git a/WEB-INF/templates/users.tpl b/WEB-INF/templates/users.tpl index d537ddad..84e3d0e5 100644 --- a/WEB-INF/templates/users.tpl +++ b/WEB-INF/templates/users.tpl @@ -21,7 +21,7 @@ {foreach $active_users as $u} - {if $smarty.const.ENTRIES_USERS_PAGE == $user->uncompleted_entries} + {if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_entries} {/if} {$u.name|escape:'html'} diff --git a/mobile/users.php b/mobile/users.php index c4f65d9c..02184588 100644 --- a/mobile/users.php +++ b/mobile/users.php @@ -45,7 +45,7 @@ if($user->canManageTeam()) { } // 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']); diff --git a/users.php b/users.php index 15850d24..b1fe52a0 100644 --- a/users.php +++ b/users.php @@ -45,7 +45,7 @@ if($user->canManageTeam()) { } // 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']); -- 2.20.1