X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=38ec1914c96d0d9e155ccfbd51a84400f5fb8b64;hb=352243fe0b205fa6371299c47be1bb91a7a377bb;hp=ce96dde4d67b530ef3c02bfc9eff992341a9ba6b;hpb=0321413f489a83610e8b3c20a55dcc404dcd73a6;p=timetracker.git
diff --git a/WEB-INF/templates/mobile/time.tpl b/WEB-INF/templates/mobile/time.tpl
index ce96dde4..38ec1914 100644
--- a/WEB-INF/templates/mobile/time.tpl
+++ b/WEB-INF/templates/mobile/time.tpl
@@ -20,12 +20,13 @@
{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)}
{$record.project|escape} |
{/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} |
+ {if $record.approved || $record.timesheet_id || $record.invoice_id} {else}{/if} |
+ {if $record.approved || $record.timesheet_id || $record.invoice_id} {else}{/if} |
{/foreach}
@@ -48,12 +49,16 @@
+{if $user_dropdown}
+ {$i18n.label.user}: |
+ {$forms.timeRecordForm.user.control} |
+{/if}
{if $user->isPluginEnabled('cl')}
- {$i18n.label.client}: |
- {$forms.timeRecordForm.client.control} |
+ {$i18n.label.client}: |
+ {$forms.timeRecordForm.client.control} |
{/if}
{if $user->isPluginEnabled('iv')}
- |
+ |
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
{$custom_fields->fields[0]['label']|escape}: |
@@ -78,6 +83,10 @@
{$i18n.label.duration}: |
{$forms.timeRecordForm.duration.control} |
{/if}
+{if $template_dropdown}
+ {$i18n.label.template}: |
+ {$forms.timeRecordForm.template.control} |
+{/if}
{$i18n.label.note}: |
{$forms.timeRecordForm.note.control} |
|