X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=dc5c8155799cf1a4e40a9a7cf1ace4187c8424e7;hb=3ad837214ca361fdaac5363d9e702d3d40d04b17;hp=8c3acc95ec0dc00e42428e45014fd30631d14b71;hpb=f490a9f5e080c426f54502d1004f8ab444d26469;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index 8c3acc95..dc5c8155 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -4,7 +4,9 @@ {$forms.timesheetsForm.open} +{if $show_hint} +{/if} {if $user_dropdown} {/if} @@ -27,7 +29,6 @@ {/if} - {foreach $active_timesheets as $timesheet} @@ -40,24 +41,63 @@ {/if} {if $show_approval_status} + {/if} + + {if !$user->isClient()} + + {/if} + + {/foreach} +
{$i18n.form.timesheets.hint}
{$i18n.label.user}: {$forms.timesheetsForm.user.control}
{$i18n.label.view} {$i18n.label.edit}{$i18n.label.delete}
{if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{$i18n.label.view}{$i18n.label.edit}
+ {if !$user->isClient()} + + +

{/if} +{if $inactive_timesheets} + - + + + + {if $show_client} + + {/if} + {if $show_submit_status} + + {/if} + {if $show_approval_status} + + {/if} + + + + {foreach $inactive_timesheets as $timesheet} + + + {if $show_client} + + {/if} + {if $show_submit_status} + + {/if} + {if $show_approval_status} + + {/if} {if !$user->isClient()} - {/if} {/foreach}
{$i18n.form.timesheets.inactive_timesheets}
{$i18n.label.thing_name}{$i18n.label.client}{$i18n.label.submitted}{$i18n.label.approved}{$i18n.label.view}{$i18n.label.edit}
{$timesheet.name|escape}{$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}{$i18n.label.view}{$i18n.label.edit}{$i18n.label.delete}
- {if !$user->isClient()}

{/if} +{/if}