Some more renaming.
authoranuko <support@anuko.com>
Sun, 23 Oct 2016 14:35:48 +0000 (14:35 +0000)
committeranuko <support@anuko.com>
Sun, 23 Oct 2016 14:35:48 +0000 (14:35 +0000)
WEB-INF/templates/mobile/users.tpl
WEB-INF/templates/users.tpl
mobile/users.php
users.php

index bd2f0f4..e43f0f6 100644 (file)
@@ -19,7 +19,7 @@
     {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()}
index d537dda..84e3d0e 100644 (file)
@@ -21,7 +21,7 @@
     {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'}
index c4f65d9..0218458 100644 (file)
@@ -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']);
index 15850d2..b1fe52a 100644 (file)
--- 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']);