X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fuser_add.tpl;h=0741dc3e9f873af30fbb2adf016c58a2aec47c4d;hb=84ebf6e6d0d84b21a7b4be11c60d16c84d4dd3ef;hp=29218d866197e80c9a0cc730cda8ed92994d559d;hpb=30bb88aea34039db35d696233149168a14af024c;p=timetracker.git diff --git a/WEB-INF/templates/user_add.tpl b/WEB-INF/templates/user_add.tpl index 29218d86..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,7 +83,13 @@ 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()) && $show_projects} +{if $show_quota} + + {$i18n.label.quota} (%): + {$forms.userForm.quota_percent.control} {$i18n.label.what_is_it} + +{/if} +{if $show_projects}   {$i18n.label.projects}: