X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=f51447547f4a1e13c3c10df821dea12fa26c686f;hb=9992cce445a61a2f9dbe18abe2a3340ade5b615b;hp=67bafd513024dfb218db4f6ae7a4faffbcaafa42;hpb=dbe98ff29b8471e9f43079f702fa43a2110d72aa;p=timetracker.git
diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl
index 67bafd51..f5144754 100644
--- a/WEB-INF/templates/week.tpl
+++ b/WEB-INF/templates/week.tpl
@@ -21,6 +21,35 @@
{$i18n.label.user}: |
{$forms.weekTimeForm.onBehalfUser.control} |
+{/if}
+{if $user->isPluginEnabled('cl')}
+
+ {$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: |
+ {$forms.weekTimeForm.client.control} |
+
+{/if}
+{if $user->isPluginEnabled('iv')}
+
+ |
+ |
+
+{/if}
+{if ($custom_fields && $custom_fields->fields[0])}
+
+ {$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}: | {$forms.weekTimeForm.cf_1.control} |
+
+{/if}
+{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
+
+ {$i18n.label.project} (*): |
+ {$forms.weekTimeForm.project.control} |
+
+{/if}
+{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
+
+ {$i18n.label.task}: |
+ {$forms.weekTimeForm.task.control} |
+
{/if}
@@ -36,11 +65,92 @@
{$forms.weekTimeForm.week_durations.control} |
-
+{if $time_records}
+
+
+ {$i18n.label.week_total}: {$week_total} |
+ |
+
+ {if $user->isPluginEnabled('mq')}
+
+ {$i18n.label.month_total}: {$month_total} |
+ {if $over_quota}
+ {$i18n.form.time.over_quota}: {$quota_remaining} |
+ {else}
+ {$i18n.form.time.remaining_quota}: {$quota_remaining} |
+ {/if}
+
+ {/if}
+
+{/if}
{$forms.weekTimeForm.close}