Improved plugins.tpl to hide unnecessary label.
authorNik Okuntseff <support@anuko.com>
Mon, 11 Mar 2019 17:41:19 +0000 (17:41 +0000)
committerNik Okuntseff <support@anuko.com>
Mon, 11 Mar 2019 17:41:30 +0000 (17:41 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/plugins.tpl

index 90c62d2..c2cdd15 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.18.58.4863 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.58.4864 | 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 34c6fc2..2a7b08d 100644 (file)
@@ -29,6 +29,7 @@ function handlePluginCheckboxes() {
     taxLabel.style.visibility = "hidden";
   }
   var configureLabel = document.getElementById("expenses_config");
+  var docLabel = null;
   if (expensesCheckbox.checked) {
     configureLabel.style.visibility = "visible";
   } else {
@@ -85,12 +86,13 @@ function handlePluginCheckboxes() {
 
   var templatesCheckbox = document.getElementById("templates");
   configureLabel = document.getElementById("templates_config");
+  docLabel = document.getElementById("templates_doc");
   if (templatesCheckbox.checked){
     configureLabel.style.display = "";
-    //configureLabel.style.visibility = "visible";
+    docLabel.style.display = "none";
   } else {
     configureLabel.style.display = "none";
-    //configureLabel.style.visibility = "hidden";
+    docLabel.style.display = "";
   }
 }
 </script>
@@ -154,7 +156,7 @@ function handlePluginCheckboxes() {
           </tr>
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.templates.control}</td>
-            <td><label for="templates">{$i18n.title.templates}</label> <span id="templates_config"><a href="templates.php">{$i18n.label.configure}</a></span> <a href="https://www.anuko.com/lp/tt_29.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+            <td><label for="templates">{$i18n.title.templates}</label> <span id="templates_config"><a href="templates.php">{$i18n.label.configure}</a></span> <span id="templates_doc"><a href="https://www.anuko.com/lp/tt_29.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
           <tr>
             <td colspan="2">&nbsp;</td>