X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=8d56707fc38dd356707fdc8a8f4d93cb32eda510;hb=3d6637d9e14122d6998e0be59e9138d41733d5db;hp=366762cfc32fa6ddfae6ca93e7596bf6308fc7b4;hpb=42fb0e1b78c91f0aacbc3d9d707181445e33caf9;p=timetracker.git diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index 366762cf..8d56707f 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -56,13 +56,13 @@ function fillDropdowns() { {$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)} +{if $show_project} {$i18n.label.project} (*): {$forms.weekTimeForm.project.control} {/if} -{if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} +{if $show_task} {$i18n.label.task}: {$forms.weekTimeForm.task.control}