projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more refactoring.
[timetracker.git]
/
WEB-INF
/
templates
/
group_edit.tpl
diff --git
a/WEB-INF/templates/group_edit.tpl
b/WEB-INF/templates/group_edit.tpl
index
f839d7e
..
0565d76
100644
(file)
--- a/
WEB-INF/templates/group_edit.tpl
+++ b/
WEB-INF/templates/group_edit.tpl
@@
-26,14
+26,12
@@
function handleTaskRequiredCheckbox() {
<tr>
<td>
<table cellspacing="1" cellpadding="2" border="0">
<tr>
<td>
<table cellspacing="1" cellpadding="2" border="0">
-{if isTrue($smarty.const.SUBGROUP_DEBUG)}
-{if $user->can('manage_subgroups')}
+{if $user->can('manage_subgroups') && $group_dropdown}
<tr>
<td align="right" nowrap>{$i18n.label.group}:</td>
<td>{$forms.groupForm.group.control}</td>
</tr>
{/if}
<tr>
<td align="right" nowrap>{$i18n.label.group}:</td>
<td>{$forms.groupForm.group.control}</td>
</tr>
{/if}
-{/if}
{if $user->can('manage_basic_settings')}
<tr>
<td align="right" nowrap>{$i18n.label.group_name} (*):</td>
{if $user->can('manage_basic_settings')}
<tr>
<td align="right" nowrap>{$i18n.label.group_name} (*):</td>