X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=91c626df0def9c99e4cbecbcddf1c7b8265828a0;hb=2d7329ba9ee02d996db189a87d79a02a877dd924;hp=0ba8fd7cfe2935dd71cd4c92851c2669cb1aaef6;hpb=a64a8d017c37bec34585e0c345a0c139ac3b43a0;p=timetracker.git
diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl
index 0ba8fd7c..91c626df 100644
--- a/WEB-INF/templates/timesheets.tpl
+++ b/WEB-INF/templates/timesheets.tpl
@@ -2,59 +2,86 @@
function chLocation(newLocation) { document.location = newLocation; }
+{$forms.timesheetsForm.open}
+{if $user_dropdown}
+ {$i18n.label.user}: {$forms.timesheetsForm.user.control} |
+{/if}
- {$i18n.form.timesheets.hint}
|
- |
- {if $inactive_timesheets}
+{if $inactive_timesheets}
- {/if}
+{/if}
- {if $show_client}
+{if $show_client}
- {/if}
- {if $show_submit_status}
+{/if}
- {/if}
- {if $show_approval_status}
- {/if}
-
- {foreach $active_timesheets as $timesheet}
+{foreach $active_timesheets as $timesheet}
{$timesheet.name|escape} |
{if $show_client}
{$timesheet.client_name|escape} |
{/if}
- {if $show_submit_status}
{if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
+ {if $timesheet.approve_status == null}
+ |
+ {else}
+ {if $timesheet.approve_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} |
+ {$i18n.label.edit} |
+
+{/foreach}
+
+
+{if $inactive_timesheets}
+
+
+
+
+ {if $show_client}
+
+ {/if}
+
+
+
+
+
+ {foreach $inactive_timesheets as $timesheet}
+
+ {$timesheet.name|escape} |
+ {if $show_client}
+ {$timesheet.client_name|escape} |
+ {/if}
+ {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
+ {if $timesheet.approve_status == null}
+ |
+ {else}
+ {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
+ {/if}
{$i18n.label.view} |
- {if !$user->isClient()}
{$i18n.label.edit} |
- {$i18n.label.delete} |
- {/if}
- {/foreach}
+ {/foreach}
- {if !$user->isClient()}
- {/if}
+{/if}
|
+{$forms.timesheetsForm.close}