X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=a342c7641a4ea73d7b4cb50ffdb201a6105c4f63;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;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..a342c764 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.approved || $record.timesheet_id || $record.invoice_id} {else}{$i18n.label.edit}{/if}
- +
+ - + -
{$i18n.label.day_total}:{$i18n.label.day_total}: {$day_total}
+ {/if} @@ -248,17 +46,21 @@ function get_date() { -
+ -{if in_array('cl', explode(',', $user->plugins))} - - +{if $user_dropdown} + + +{/if} +{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 +95,4 @@ function get_date() {
{$i18n.label.client}:
{$forms.timeRecordForm.client.control}
{$i18n.label.user}:
{$forms.timeRecordForm.user.control}
{$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}