X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=91c626df0def9c99e4cbecbcddf1c7b8265828a0;hb=c3e6cb49a67ee660c2eaeef53e15c85c19d805dd;hp=af65d14b5772263aa93ba3abaddbfc98095d8673;hpb=88bd95ec82e6b715f84b6bd09c04aebbdb4b5e4d;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index af65d14b..91c626df 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -18,14 +18,10 @@ {if $show_client}
{$i18n.label.client} | {/if} - {if $not_client}{$i18n.label.submitted} | {$i18n.label.approved} | - {/if}{$i18n.label.view} | - {if $can_edit}{$i18n.label.edit} | - {/if} {foreach $inactive_timesheets as $timesheet}||
{$timesheet.client_name|escape} | {/if} - {if $not_client}{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} | - {if $timesheet.approval_status == null} + {if $timesheet.approve_status == null}- {else} - | {if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} | - {/if} + {else} +{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} | {/if}{$i18n.label.view} | - {if $can_edit}{$i18n.label.edit} | - {/if}