projects
/
timetracker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317b22c
)
Refactor canManageTeam in group_edit.tpl (#59)
author
bonnedav
<theD_2011@hotmail.com>
Tue, 3 Apr 2018 01:15:53 +0000
(19:15 -0600)
committer
anuko
<support@anuko.com>
Tue, 3 Apr 2018 01:15:53 +0000
(
01:15
+0000)
WEB-INF/templates/group_edit.tpl
patch
|
blob
|
history
diff --git
a/WEB-INF/templates/group_edit.tpl
b/WEB-INF/templates/group_edit.tpl
index
5a5711b
..
72222c0
100644
(file)
--- 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->can
ManageTeam(
)}
+{if $user->can
('manage_basic_settings'
)}
{include file="datetime_format_preview.tpl"}
{/if}
@@
-102,7
+102,7
@@
function handlePluginCheckboxes() {
<tr>
<td>
<table cellspacing="1" cellpadding="2" border="0">
-{if $user->
isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS)
)}
+{if $user->
can('manage_basic_settings'
)}
<tr>
<td align="right" nowrap>{$i18n.label.group_name}:</td>
<td>{$forms.groupForm.team_name.control}</td>