X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=91c626df0def9c99e4cbecbcddf1c7b8265828a0;hb=0e6900be0bcfc882505ec4c8b8730a798985bc80;hp=f9b89d79272f62fe7b31953273c35b1128750073;hpb=73f1ed8b4fb4888b8251b3575ba1d94cf1a68a4e;p=timetracker.git
diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl
index f9b89d79..91c626df 100644
--- a/WEB-INF/templates/timesheets.tpl
+++ b/WEB-INF/templates/timesheets.tpl
@@ -4,9 +4,6 @@
{$forms.timesheetsForm.open}
-{if $not_client}
- {$i18n.form.timesheets.hint}
|
-{/if}
{if $user_dropdown}
{$i18n.label.user}: {$forms.timesheetsForm.user.control} |
{/if}
@@ -21,14 +18,10 @@
{if $show_client}
{/if}
-{if $not_client}
-{/if}
-{if $can_edit}
-{/if}
{foreach $active_timesheets as $timesheet}
@@ -36,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}
@@ -66,14 +54,10 @@
{if $show_client}
{/if}
- {if $not_client}
- {/if}
- {if $can_edit}
- {/if}
{foreach $inactive_timesheets as $timesheet}
@@ -81,26 +65,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}