X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=6f97c4d2aaff24a5dd8c0dbd4aa5899e0dec36c4;hb=f22a586b11af9c617fdc4241d3ffa0344d4d6a50;hp=cd45a3b17659015272116216f6007effe917e321;hpb=a26a0989ad93cce9de9f45312990da9610e53045;p=timetracker.git diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index cd45a3b1..6f97c4d2 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -39,9 +39,9 @@ function fillDropdowns() { {$forms.weekTimeForm.onBehalfUser.control} {/if} -{if $user->isPluginEnabled('cl')} +{if $show_client} - {$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: + {$i18n.label.client}{if $user->isOptionEnabled('client_required')} (*){/if}: {$forms.weekTimeForm.client.control} {/if} @@ -56,19 +56,19 @@ 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} {/if} -{if $user->isPluginEnabled('wvn')} +{if $show_week_note} {$i18n.label.week_note}: {$forms.weekTimeForm.note.control} @@ -96,7 +96,7 @@ function fillDropdowns() {   -{if $user->isPluginEnabled('wvl')} +{if $show_week_list}
@@ -181,7 +181,7 @@ function fillDropdowns() { {if $time_records} - {if $user->isPluginEnabled('wvl')} + {if $show_week_list}
{$i18n.label.week_total}: {$week_total}