Merged to templates into one to keep things simple.
[timetracker.git] / WEB-INF / templates / group_edit.tpl
index f839d7e..0565d76 100644 (file)
@@ -26,14 +26,12 @@ function handleTaskRequiredCheckbox() {
     <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}
-{/if}
 {if $user->can('manage_basic_settings')}
           <tr>
             <td align="right" nowrap>{$i18n.label.group_name} (*):</td>