X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=91c626df0def9c99e4cbecbcddf1c7b8265828a0;hb=352243fe0b205fa6371299c47be1bb91a7a377bb;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 $active_timesheets as $timesheet} @@ -33,26 +29,21 @@ {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} {/foreach} -{if $not_client} + - +


-{/if} {if $inactive_timesheets} @@ -63,14 +54,10 @@ {if $show_client} {/if} - {if $not_client} - {/if} - {if $can_edit} - {/if} {foreach $inactive_timesheets as $timesheet} @@ -78,26 +65,21 @@ {if $show_client} {/if} - {if $not_client} - {if $timesheet.approval_status == null} + {if $timesheet.approve_status == null} - {else} - - {/if} + {else} + {/if} - {if $can_edit} - {/if} {/foreach}
{$i18n.label.client}{$i18n.label.submitted} {$i18n.label.approved}{$i18n.label.view}{$i18n.label.edit}
{$timesheet.client_name|escape}{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.view}{$i18n.label.edit}
- {if $not_client} +

- {/if} {/if}