A bit more refactoring for subgroups.
[timetracker.git] / WEB-INF / templates / time.tpl
index f532be4..bb86287 100644 (file)
   <tr>
     <td valign="top">
       <table>
-{if $on_behalf_control}
+{if $group_dropdown}
+        <tr>
+          <td align="right">{$i18n.label.group}:</td>
+          <td>{$forms.timeRecordForm.group.control}</td>
+        </tr>
+{/if}
+{if $user_dropdown}
         <tr>
           <td align="right">{$i18n.label.user}:</td>
-          <td>{$forms.timeRecordForm.onBehalfUser.control}</td>
+          <td>{$forms.timeRecordForm.user.control}</td>
         </tr>
 {/if}
 {if $user->isPluginEnabled('cl')}