X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=a5e893e59a4994c95323c833827cdd999aa33b25;hb=2b39252b38f5bd1be462224fe781a40f5b0ddf95;hp=f9b89d79272f62fe7b31953273c35b1128750073;hpb=73f1ed8b4fb4888b8251b3575ba1d94cf1a68a4e;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index f9b89d79..a5e893e5 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -4,9 +4,6 @@ {$forms.timesheetsForm.open}
{$i18n.form.timesheets.hint} | ||||||||||||
{$i18n.label.user}: {$forms.timesheetsForm.user.control} | {$i18n.label.client} | {/if} -{if $not_client}{$i18n.label.submitted} | {$i18n.label.approved} | +{if $show_files} +{/if} - | {$i18n.label.view} | -{if $can_edit} -{$i18n.label.edit} | -{/if} ++ | {foreach $active_timesheets as $timesheet} | ||||
{$timesheet.name|escape} | +{$timesheet.name|escape} | {if $show_client}{$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 $show_files} + {if $timesheet.has_files} +![]() |
+ {else}
+ ![]() |
+ {/if}
{/if}
+ ![]() |
+ ![]() |
{$i18n.label.client} | {/if} - {if $not_client}{$i18n.label.submitted} | {$i18n.label.approved} | + {if $show_files} +{/if} - | {$i18n.label.view} | - {if $can_edit} -{$i18n.label.edit} | - {/if} ++ | {foreach $inactive_timesheets as $timesheet} | |||||
{$timesheet.name|escape} | +{$timesheet.name|escape} | {if $show_client}{$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.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} | + {/if} + {if $show_files} + {if $timesheet.has_files} +![]() |
{else}
- {if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} | +![]() |
{/if}
{/if}
- {$i18n.label.view} | - {if $can_edit} -{$i18n.label.edit} | - {/if} +![]() |
+ ![]() |