X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=3b8b0f8b4686a7550687a4bf52b2fc6cae3fe408;hb=6856837ddde5cc90ac5dad2e5d67204036ec3158;hp=8ae65b0d2985e52f7d4a4fb408fbe0db699048c3;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/templates/mobile/time.tpl b/WEB-INF/templates/mobile/time.tpl index 8ae65b0d..3b8b0f8b 100644 --- a/WEB-INF/templates/mobile/time.tpl +++ b/WEB-INF/templates/mobile/time.tpl @@ -1,210 +1,8 @@ - +{include file="time_script.tpl"} @@ -220,23 +18,23 @@ 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'}{$record.project|escape}{if $record.duration == '0:00'}{/if}{$record.duration}{if $record.duration == '0:00'}{/if} - {if $record.invoice_id} {else}{$i18n.label.edit}{/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.day_total}:{$i18n.label.day_total}: {$day_total}
+ {/if} @@ -248,17 +46,17 @@ function get_date() { -
+ -{if in_array('cl', explode(',', $user->plugins))} +{if $user->isPluginEnabled('cl')} {/if} -{if in_array('iv', explode(',', $user->plugins))} +{if $user->isPluginEnabled('iv')} {/if} {if ($custom_fields && $custom_fields->fields[0])} - + {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} @@ -293,4 +91,4 @@ function get_date() {
{$i18n.label.client}:
{$forms.timeRecordForm.client.control}
{$custom_fields->fields[0]['label']|escape:'html'}:
{$custom_fields->fields[0]['label']|escape}:
{$forms.timeRecordForm.cf_1.control}
-{$forms.timeRecordForm.close} \ No newline at end of file +{$forms.timeRecordForm.close}