X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=38ec1914c96d0d9e155ccfbd51a84400f5fb8b64;hb=352243fe0b205fa6371299c47be1bb91a7a377bb;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..38ec1914 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,24 @@ 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}{if $record.approved || $record.timesheet_id || $record.invoice_id} {else}{$i18n.label.delete}{/if}
- +
+ - + -
{$i18n.label.day_total}:{$i18n.label.day_total}: {$day_total}
+ {/if} @@ -248,17 +47,21 @@ function get_date() { -
+ -{if in_array('cl', explode(',', $user->plugins))} - - +{if $user_dropdown} + + {/if} -{if in_array('iv', explode(',', $user->plugins))} - +{if $user->isPluginEnabled('cl')} + + +{/if} +{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)} @@ -280,6 +83,10 @@ function get_date() { {/if} +{if $template_dropdown} + + +{/if} @@ -293,4 +100,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}
{$i18n.label.duration}:
{$forms.timeRecordForm.duration.control}
{$i18n.label.template}:
{$forms.timeRecordForm.template.control}
{$i18n.label.note}:
{$forms.timeRecordForm.note.control}
-{$forms.timeRecordForm.close} \ No newline at end of file +{$forms.timeRecordForm.close}