From: anuko Date: Sun, 23 Oct 2016 14:35:48 +0000 (+0000) Subject: Some more renaming. X-Git-Tag: timetracker_1.19-1~1622 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=df370652d9dff5881b911e72cbc050ee757630f8;p=timetracker.git Some more renaming. --- 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']);