X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=c3e9b59b56bbfa23fad31b6b591f8236146a789c;hb=89d8a451de23fcb0f26bf5cd4dd1ed87430a4b03;hp=46d8a5e62de2b0dd43e57effc56bfae4e6f55984;hpb=0dfc4dda20c54e173938eaf196f8e071ce790830;p=timetracker.git diff --git a/WEB-INF/templates/mobile/time.tpl b/WEB-INF/templates/mobile/time.tpl index 46d8a5e6..c3e9b59b 100644 --- a/WEB-INF/templates/mobile/time.tpl +++ b/WEB-INF/templates/mobile/time.tpl @@ -41,7 +41,7 @@ task_names = new Array(); empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}'; empty_label_task = '{$i18n.dropdown.select|escape:'javascript'}'; -// The populateDropdowns function populates the "project" and "task" dropdown controls +// The fillDropdowns function populates the "project" and "task" dropdown controls // with relevant values. function fillDropdowns() { if(document.body.contains(document.timeRecordForm.client)) @@ -220,13 +220,13 @@ function get_date() { {if $time_records} - +
{foreach $time_records as $record} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {/if} - {/foreach}
{$record.project|escape:'html'}{if $record.duration == '0:00'}{/if}{$record.duration}{if $record.duration == '0:00'}{/if} + {if ($record.duration == '0:00' && $record.start <> '')}{/if}{$record.duration}{if ($record.duration == '0:00' && $record.start <> '')}{/if} {if $record.invoice_id} {else}{$i18n.label.edit}{/if}