X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=c3e9b59b56bbfa23fad31b6b591f8236146a789c;hb=5519f0c3855c71a81442f3da1d135df89f1baf71;hp=4371be29354e231c11c265533b2d5409283712b1;hpb=2a998c95dd9e86a9ad57939b056b62cab7402b08;p=timetracker.git diff --git a/WEB-INF/templates/mobile/time.tpl b/WEB-INF/templates/mobile/time.tpl index 4371be29..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} @@ -254,7 +254,7 @@ function get_date() { {/if} -{if in_array('iv', explode(',', $user->plugins))} +{if $user->isPluginEnabled('iv')} {/if} {if ($custom_fields && $custom_fields->fields[0])}
{$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}
{$i18n.label.client}:
{$forms.timeRecordForm.client.control}