X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=244c6cb15bc215449322f3d68e72501d6ac5865c;hb=d6bf190b01c2effb9f37df80f024ef588c5367d0;hp=f7bb80640f192b07f913bb7655824fe9c2a09d6c;hpb=11cfcc792a4c3578abce0ef3f1b933f3858b5c1d;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index f7bb8064..244c6cb1 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -129,7 +129,7 @@ function handlePluginCheckboxes() { {$i18n.label.required_fields} -{if $user->canManageTeam()} +{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))}   @@ -141,6 +141,12 @@ function handlePluginCheckboxes() { {$i18n.label.currency}: {$forms.profileForm.currency.control} + {if $user->can('manage_roles')} + + {$i18n.label.roles}: + {$i18n.label.configure} + + {/if} {$i18n.label.language}: {$forms.profileForm.lang.control} @@ -173,8 +179,8 @@ function handlePluginCheckboxes() { {$forms.profileForm.record_type.control} - {$i18n.form.profile.punch_in_mode}: - {$forms.profileForm.punch_in_mode.control} {$i18n.label.what_is_it} + {$i18n.form.profile.punch_mode}: + {$forms.profileForm.punch_mode.control} {$i18n.label.what_is_it} {$i18n.form.profile.allow_overlap}: