X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=a5e893e59a4994c95323c833827cdd999aa33b25;hb=13cfff28242767287408e8fd13d992bc6c6e2086;hp=af65d14b5772263aa93ba3abaddbfc98095d8673;hpb=88bd95ec82e6b715f84b6bd09c04aebbdb4b5e4d;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index af65d14b..a5e893e5 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -18,41 +18,42 @@ {if $show_client} {$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} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} {/if} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} -{if $not_client} + - +


-{/if} {if $inactive_timesheets} @@ -63,41 +64,42 @@ {if $show_client} {/if} - {if $not_client} + {if $show_files} + {/if} - - {if $can_edit} - - {/if} + + {foreach $inactive_timesheets as $timesheet} - + {if $show_client} {/if} - {if $not_client} - {if $timesheet.approval_status == null} + {if $timesheet.approve_status == null} + {else} + + {/if} + {if $show_files} + {if $timesheet.has_files} + {else} - + {/if} {/if} - - {if $can_edit} - - {/if} + + {/foreach}
{$i18n.label.client}{$i18n.label.submitted} {$i18n.label.approved}{$i18n.label.view}{$i18n.label.edit}
{$timesheet.name|escape}{$timesheet.name|escape}{$timesheet.client_name|escape}{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.files}{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.files}{$i18n.label.view}{$i18n.label.edit}{$i18n.label.edit}{$i18n.label.delete}
- {if $not_client} +

- {/if} {/if}