X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftime.tpl;h=38ec1914c96d0d9e155ccfbd51a84400f5fb8b64;hb=352243fe0b205fa6371299c47be1bb91a7a377bb;hp=35242e2f38505557083145a64c1445154750eeb2;hpb=41bb577927a2b54d6a2cbc97ccc63e2935f7604b;p=timetracker.git diff --git a/WEB-INF/templates/mobile/time.tpl b/WEB-INF/templates/mobile/time.tpl index 35242e2f..38ec1914 100644 --- a/WEB-INF/templates/mobile/time.tpl +++ b/WEB-INF/templates/mobile/time.tpl @@ -25,7 +25,8 @@ {$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} + {if $record.approved || $record.timesheet_id || $record.invoice_id} {else}{$i18n.label.delete}{/if} {/foreach} @@ -82,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}