Moved Subgroups from top menu to group_edit.php.
authorNik Okuntseff <support@anuko.com>
Mon, 20 May 2019 19:51:10 +0000 (19:51 +0000)
committerNik Okuntseff <support@anuko.com>
Mon, 20 May 2019 19:51:10 +0000 (19:51 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/group_edit.tpl
WEB-INF/templates/header.tpl

index 1494421..54bf35f 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.19.4.5008 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.19.4.5009 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index be8c46c..659e624 100644 (file)
@@ -23,11 +23,17 @@ function handleTaskRequiredCheckbox() {
     <tr>
       <td>
         <table cellspacing="1" cellpadding="2" border="0">
-{if $user->can('manage_subgroups') && $group_dropdown}
+{if $user->can('manage_subgroups')}
+  {if $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.subgroups}:</td>
+            <td><a href="groups.php">{$i18n.label.configure}</a></td>
+          </tr>
 {/if}
           <tr>
             <td align="right">{$i18n.label.currency}:</td>
index 30d8044..d9ceab9 100644 (file)
@@ -89,9 +89,6 @@
     {if $user->can('manage_basic_settings')}
             <a class="systemMenu" href="group_edit.php">{$i18n.menu.group}</a>
     {/if}
-    {if $user->can('manage_subgroups')}
-            <a class="systemMenu" href="groups.php">{$i18n.menu.subgroups}</a>
-    {/if}
     {if $user->can('manage_features')}
             <a class="systemMenu" href="plugins.php">{$i18n.menu.plugins}</a>
     {/if}