X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=fd26588d78b8650ab568f323724242f4b21ea1c6;hb=45ca7d2258832cb0d2465eb16dd646d925458106;hp=907f41557b6f5f93197f39a37e4cd49171a8f8d2;hpb=bfbd5b318b37a66ece219e719734a60249781b6d;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index 907f4155..fd26588d 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -20,23 +20,23 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} - {$i18n.label.edit} + + {foreach $active_timesheets as $timesheet} - {$timesheet.name|escape} + {$timesheet.name|escape} {if $show_client} {$timesheet.client_name|escape} {/if} {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 $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} - {$i18n.label.view} - {$i18n.label.edit} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} @@ -57,7 +57,8 @@ {$i18n.label.submitted} {$i18n.label.approved} {$i18n.label.view} - {$i18n.label.edit} + + {foreach $inactive_timesheets as $timesheet} @@ -66,13 +67,14 @@ {$timesheet.client_name|escape} {/if} {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 $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} {$i18n.label.view} - {$i18n.label.edit} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach}