var $week_start = 0; // Week start day.
var $tracking_mode = 0; // Tracking mode.
var $record_type = 0; // Record type (duration vs start and finish, or both).
- var $uncompleted_entries = 0; // Uncompleted entries (show nowhere or on users page).
+ var $uncompleted_indicators = 0; // Uncompleted time entry indicators (show nowhere or on users page).
var $currency = null; // Currency.
var $plugins = null; // Comma-separated list of enabled plugins.
var $team = null; // Team name.
$this->week_start = $val['week_start'];
$this->tracking_mode = $val['tracking_mode'];
$this->record_type = $val['record_type'];
- $this->uncompleted_entries = $val['uncompleted_indicators'];
+ $this->uncompleted_indicators = $val['uncompleted_indicators'];
$this->team = $val['team_name'];
$this->address = $val['address'];
$this->currency = $val['currency'];
{foreach $active_users as $u}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>
- {if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_entries}
+ {if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_indicators}
<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.UNCOMPLETED_INDICATORS == $user->uncompleted_entries}
+ {if $smarty.const.UNCOMPLETED_INDICATORS == $user->uncompleted_indicators}
<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 team is set to show indicators for uncompleted time entries.
-if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) {
+if (UNCOMPLETED_INDICATORS == $user->uncompleted_indicators) {
// 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']);
$cl_start_week = $user->week_start;
$cl_tracking_mode = $user->tracking_mode;
$cl_record_type = $user->record_type;
- $cl_uncompleted_entries = $user->uncompleted_entries;
+ $cl_uncompleted_entries = $user->uncompleted_indicators;
// Which plugins do we have enabled?
$plugins = explode(',', $user->plugins);
}
// Check if the team is set to show indicators for uncompleted time entries.
-if (UNCOMPLETED_INDICATORS == $user->uncompleted_entries) {
+if (UNCOMPLETED_INDICATORS == $user->uncompleted_indicators) {
// 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']);