X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=0aff385358eaf9d346be4c5e95cc0677ad344ac8;hb=e5af7e8b92762ab25710235c72c5504de2e091c6;hp=9b341b6743d0c50680fa7df81e0415658680185e;hpb=1955bb54c5569f779a16eb3b8de9b4684b5f11b4;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 9b341b67..0aff3853 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -94,7 +94,7 @@ function handlePluginCheckboxes() { {$forms.groupForm.open} -{if $user->canManageTeam()} +{if $user->can('manage_basic_settings')} {include file="datetime_format_preview.tpl"} {/if} @@ -102,9 +102,9 @@ function handlePluginCheckboxes() { -{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))} +{if $user->can('manage_basic_settings')} - + @@ -164,12 +164,16 @@ function handlePluginCheckboxes() { -{if $user->isManager()} + {if $user->can('manage_advanced_settings')} -{/if} + + + + + {/if} {* initialize preview text *}
{$i18n.label.team_name}:{$i18n.label.group_name}: {$forms.groupForm.team_name.control}
{$i18n.form.profile.uncompleted_indicators}: {$forms.groupForm.uncompleted_indicators.control} {$i18n.label.what_is_it}
{$i18n.label.bcc}: {$forms.groupForm.bcc_email.control} {$i18n.label.what_is_it}
{$i18n.form.profile.allow_ip}:{$forms.groupForm.allow_ip.control} {$i18n.label.what_is_it}