X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=a5e893e59a4994c95323c833827cdd999aa33b25;hb=67e827dacf08d8a55dff9118c82dd964f5da12c1;hp=907f41557b6f5f93197f39a37e4cd49171a8f8d2;hpb=bfbd5b318b37a66ece219e719734a60249781b6d;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index 907f4155..a5e893e5 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -20,23 +20,33 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} - {$i18n.label.edit} +{if $show_files} + +{/if} + + {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} + {if $show_files} + {if $timesheet.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} {/if} - {$i18n.label.view} - {$i18n.label.edit} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} @@ -56,23 +66,33 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} - {$i18n.label.edit} + {if $show_files} + + {/if} + + {foreach $inactive_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} + {if $show_files} + {if $timesheet.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} {/if} - {$i18n.label.view} - {$i18n.label.edit} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach}