projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a link explaining timesheets plugin.
[timetracker.git]
/
WEB-INF
/
templates
/
plugins.tpl
diff --git
a/WEB-INF/templates/plugins.tpl
b/WEB-INF/templates/plugins.tpl
index
affbcc1
..
d3f9086
100644
(file)
--- a/
WEB-INF/templates/plugins.tpl
+++ b/
WEB-INF/templates/plugins.tpl
@@
-29,6
+29,7
@@
function handlePluginCheckboxes() {
taxLabel.style.visibility = "hidden";
}
var configureLabel = document.getElementById("expenses_config");
taxLabel.style.visibility = "hidden";
}
var configureLabel = document.getElementById("expenses_config");
+ var docLabel = null;
if (expensesCheckbox.checked) {
configureLabel.style.visibility = "visible";
} else {
if (expensesCheckbox.checked) {
configureLabel.style.visibility = "visible";
} else {
@@
-85,12
+86,13
@@
function handlePluginCheckboxes() {
var templatesCheckbox = document.getElementById("templates");
configureLabel = document.getElementById("templates_config");
var templatesCheckbox = document.getElementById("templates");
configureLabel = document.getElementById("templates_config");
+ docLabel = document.getElementById("templates_doc");
if (templatesCheckbox.checked){
configureLabel.style.display = "";
if (templatesCheckbox.checked){
configureLabel.style.display = "";
-
//configureLabel.style.visibility = "visibl
e";
+
docLabel.style.display = "non
e";
} else {
configureLabel.style.display = "none";
} else {
configureLabel.style.display = "none";
-
//configureLabel.style.visibility = "hidden
";
+
docLabel.style.display = "
";
}
}
</script>
}
}
</script>
@@
-150,14
+152,12
@@
function handlePluginCheckboxes() {
</tr>
<tr>
<td align="right" nowrap>{$forms.pluginsForm.timesheets.control}</td>
</tr>
<tr>
<td align="right" nowrap>{$forms.pluginsForm.timesheets.control}</td>
- <td><label for="timesheets">{$i18n.title.timesheets}</label></td>
+ <td><label for="timesheets">{$i18n.title.timesheets}</label>
<a href="https://www.anuko.com/lp/tt_30.htm" target="_blank">{$i18n.label.what_is_it}</a>
</td>
</tr>
</tr>
-{if isTrue('TEMPLATES_DEBUG')}
<tr>
<td align="right" nowrap>{$forms.pluginsForm.templates.control}</td>
<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>
-{/if}
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>