X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fuser_add.tpl;h=0741dc3e9f873af30fbb2adf016c58a2aec47c4d;hb=fc8a4455218bc71e17697f33c111b9dbc55f8047;hp=762f0528e481c873bba9587129b5539efa2f9c76;hpb=d374f7228d4ece31f60028d798f6dbdef78f7925;p=timetracker.git diff --git a/WEB-INF/templates/user_add.tpl b/WEB-INF/templates/user_add.tpl index 762f0528..0741dc3e 100644 --- a/WEB-INF/templates/user_add.tpl +++ b/WEB-INF/templates/user_add.tpl @@ -40,8 +40,10 @@ function handleClientControl() { var isClient = roles[i][1]; if (isClient == 1) clientControl.style.visibility = "visible"; - else + else { + clientControl.value = ''; clientControl.style.visibility = "hidden"; + } break; } } @@ -81,15 +83,23 @@ function handleClientControl() { {$i18n.form.users.default_rate} (0{$user->getDecimalMark()}00): {$forms.userForm.rate.control} -{if ($smarty.const.MODE_PROJECTS == $user->getTrackingMode() || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode())} +{if $show_quota} + + {$i18n.label.quota} (%): + {$forms.userForm.quota_percent.control} {$i18n.label.what_is_it} + +{/if} +{if $show_projects} +   {$i18n.label.projects}: {$forms.userForm.projects.control} +{/if} {$i18n.label.required_fields} -{/if} + {$forms.userForm.btn_submit.control}