From b9026f8ab6535160feb9d4d1caf95495f5b159be Mon Sep 17 00:00:00 2001 From: bonnedav Date: Mon, 2 Apr 2018 19:15:53 -0600 Subject: [PATCH] Refactor canManageTeam in group_edit.tpl (#59) --- WEB-INF/templates/group_edit.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 5a5711b0..72222c09 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,7 +102,7 @@ function handlePluginCheckboxes() { -{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))} +{if $user->can('manage_basic_settings')} -- 2.20.1
{$i18n.label.group_name}: {$forms.groupForm.team_name.control}