Conditional display of label.users if there are no inactive users.
authorNik Okuntseff <support@anuko.com>
Fri, 19 Apr 2019 17:49:42 +0000 (17:49 +0000)
committerNik Okuntseff <support@anuko.com>
Fri, 19 Apr 2019 17:49:42 +0000 (17:49 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/reports.tpl

index 757996c..8a059ce 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.1.4961 | 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.1.4962 | 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 58fe61d..70f2837 100644 (file)
@@ -302,7 +302,7 @@ function handleCheckboxes() {
         </tr>
 {if $show_active_users}
         <tr>
-          <td colspan="3"><b>{$i18n.label.active_users}</b></td>
+          <td colspan="3"><b>{if $show_inactive_users}{$i18n.label.active_users}{else}{$i18n.label.users}{/if}</b></td>
         </tr>
         <tr>
           <td colspan="3">{$forms.reportForm.users_active.control}</td>