Releasing templates plugin for testing.
[timetracker.git] / WEB-INF / templates / plugins.tpl
index c064d18..34c6fc2 100644 (file)
@@ -82,6 +82,16 @@ function handlePluginCheckboxes() {
   } else {
     configureLabel.style.visibility = "hidden";
   }
+
+  var templatesCheckbox = document.getElementById("templates");
+  configureLabel = document.getElementById("templates_config");
+  if (templatesCheckbox.checked){
+    configureLabel.style.display = "";
+    //configureLabel.style.visibility = "visible";
+  } else {
+    configureLabel.style.display = "none";
+    //configureLabel.style.visibility = "hidden";
+  }
 }
 </script>
 
@@ -134,6 +144,18 @@ function handlePluginCheckboxes() {
             <td align="right" nowrap>{$forms.pluginsForm.work_units.control}</td>
             <td><label for="work_units">{$i18n.label.work_units}</label> <span id="work_units_config"><a href="work_units.php">{$i18n.label.configure}</a></span></td>
           </tr>
+          <tr>
+            <td align="right" nowrap>{$forms.pluginsForm.approval.control}</td>
+            <td><label for="approval">{$i18n.label.approval}</label> <a href="https://www.anuko.com/lp/tt_28.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+          </tr>
+          <tr>
+            <td align="right" nowrap>{$forms.pluginsForm.timesheets.control}</td>
+            <td><label for="timesheets">{$i18n.title.timesheets}</label></td>
+          </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>
+          </tr>
           <tr>
             <td colspan="2">&nbsp;</td>
           </tr>