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')}
{$i18n.form.timesheets.hint}
|
+ |
+ {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}
{$timesheet.name|escape} |
+ {if $show_client}
{$timesheet.client_name|escape} |
- {$invoice.date} |
- {if $user->isPluginEnabled('ps')}
- {if $invoice.paid}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
{/if}
- {$i18n.label.view} |
+ {if $show_submit_status}
+ {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
+ {/if}
+ {if $show_approval_status}
+ {if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
+ {/if}
+
+
+
+ {$i18n.label.view} |
{if !$user->isClient()}
- {$i18n.label.delete} |
+ {$i18n.label.edit} |
+ {$i18n.label.delete} |
{/if}
{/foreach}
@@ -38,7 +55,6 @@
|
{/if}
-{/if}
|