X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=a342c7641a4ea73d7b4cb50ffdb201a6105c4f63;hb=89a5c1982ce74075e74a814c170e3d87563d5c47;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..a342c764 100644
--- a/WEB-INF/templates/mobile/time.tpl
+++ b/WEB-INF/templates/mobile/time.tpl
@@ -20,12 +20,12 @@
{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}{$i18n.label.edit}{/if} |
{/foreach}
@@ -48,12 +48,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}: |
|