X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheet_view.tpl;h=77cc78bd541249c90ff8c2ebaed89b1d23ab929a;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=97591fe0b1588bff7a2203310963808faa726ad8;hpb=e5486346ac0574517a4fd118f03616ec455df9a9;p=timetracker.git diff --git a/WEB-INF/templates/timesheet_view.tpl b/WEB-INF/templates/timesheet_view.tpl index 97591fe0..77cc78bd 100644 --- a/WEB-INF/templates/timesheet_view.tpl +++ b/WEB-INF/templates/timesheet_view.tpl @@ -7,21 +7,26 @@ +{if $user->behalfUser} +{/if} {if $timesheet['client_id']} {/if} -{if $not_client} +{if $timesheet['project_id']} + +{/if} +{if $timesheet['comment']} + +{/if} +{if $timesheet['approve_status'] == null} - {if $timesheet['submitter_comment']} - - {/if} - {if $timesheet['submit_status']} - {/if} - {/if} - {if $timesheet['manager_comment']} - - {/if} +{/if} +{if $timesheet['approve_status'] != null} + +{/if} +{if $timesheet['approve_comment']} + {/if}
{$timesheet['name']|escape}
{$i18n.label.user}: {$timesheet['user_name']|escape}
{$i18n.label.client}: {$timesheet['client_name']|escape}
{$i18n.label.project}: {$timesheet['project_name']|escape}
{$i18n.label.comment}: {$timesheet['comment']|escape}
{$i18n.label.submitted}: {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}
{$i18n.label.comment}: {$timesheet['submitter_comment']|escape}
{$i18n.label.approved}: {if $timesheet.approval_status != null}{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}
{$i18n.label.note}: {$timesheet['manager_comment']|escape}
{$i18n.label.approved}: {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}
{$i18n.label.note}: {$timesheet['approve_comment']|escape}
@@ -32,21 +37,19 @@ {$group_by_header|escape} {$i18n.label.duration} - {$i18n.label.cost} {foreach $subtotals as $subtotal} {if $subtotal['name']}{$subtotal['name']|escape}{else} {/if} {$subtotal['time']} - {if $user->can('manage_invoices') || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if} {/foreach}   {$i18n.label.total} {$totals['time']} - {$user->currency|escape} {if $user->can('manage_invoices') || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if} +   {$forms.timesheetForm.open} @@ -55,7 +58,7 @@ - +
{$i18n.form.mail.to}: {$forms.timesheetForm.approver.control} {$forms.timesheetForm.btn_submit.control}
{if $show_approvers}{$i18n.form.mail.to}: {$forms.timesheetForm.approver.control}{/if} {$forms.timesheetForm.btn_submit.control}