X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;fp=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=0ba8fd7cfe2935dd71cd4c92851c2669cb1aaef6;hb=a64a8d017c37bec34585e0c345a0c139ac3b43a0;hp=796f2720796ab125ac5cc898de42355d793c709f;hpb=b33cf8ebaf54882a2238b660ba07936301077695;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index 796f2720..0ba8fd7c 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -5,29 +5,46 @@
-{if $user->can('manage_invoices') || $user->can('view_own_invoices')} + + {if $inactive_timesheets} + + {/if} - {if $user->isPluginEnabled('cl')} + {if $show_client} {/if} - - + {if $show_submit_status} + + {/if} + {if $show_approval_status} + + {/if} + + - {foreach $timesheets as $timesheet} + {foreach $active_timesheets as $timesheet} + {if $show_client} - - {if $user->isPluginEnabled('ps')} - {/if} - + {if $show_submit_status} + + {/if} + {if $show_approval_status} + + {/if} + + + + {if !$user->isClient()} - + + {/if} {/foreach} @@ -38,7 +55,6 @@
{$i18n.form.timesheets.hint}
 
{$i18n.form.timesheets.active_timesheets}
{$i18n.label.thing_name}{$i18n.label.client}{$i18n.label.submitted}{$i18n.label.approved}{$i18n.label.submitted}{$i18n.label.approved}{$i18n.label.view}{$i18n.label.edit}{$i18n.label.delete}
{$timesheet.name|escape}{$timesheet.client_name|escape}{$invoice.date}{if $invoice.paid}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.view}{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.view}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}

{/if} -{/if}