projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rolling back changes in previous 2 commits because we broke reports.
[timetracker.git]
/
WEB-INF
/
templates
/
profile_edit.tpl
diff --git
a/WEB-INF/templates/profile_edit.tpl
b/WEB-INF/templates/profile_edit.tpl
index
7f8cd28
..
8c9cb8d
100644
(file)
--- a/
WEB-INF/templates/profile_edit.tpl
+++ b/
WEB-INF/templates/profile_edit.tpl
@@
-28,9
+28,15
@@
function handlePluginCheckboxes() {
taxCheckbox.style.visibility = "hidden";
taxLabel.style.visibility = "hidden";
}
taxCheckbox.style.visibility = "hidden";
taxLabel.style.visibility = "hidden";
}
+ var configureLabel = document.getElementById("expenses_config");
+ if (expensesCheckbox.checked) {
+ configureLabel.style.visibility = "visible";
+ } else {
+ configureLabel.style.visibility = "hidden";
+ }
var customFieldsCheckbox = document.getElementById("custom_fields");
var customFieldsCheckbox = document.getElementById("custom_fields");
-
var
configureLabel = document.getElementById("cf_config");
+ configureLabel = document.getElementById("cf_config");
if (customFieldsCheckbox.checked) {
configureLabel.style.visibility = "visible";
} else {
if (customFieldsCheckbox.checked) {
configureLabel.style.visibility = "visible";
} else {
@@
-141,7
+147,7
@@
function handlePluginCheckboxes() {
</tr>
<tr>
<td align="right" nowrap>{$i18n.form.profile.uncompleted_indicators}:</td>
</tr>
<tr>
<td align="right" nowrap>{$i18n.form.profile.uncompleted_indicators}:</td>
- <td>{$forms.profileForm.uncompleted_
entrie
s.control}</td>
+ <td>{$forms.profileForm.uncompleted_
indicator
s.control}</td>
</tr>
{* initialize preview text *}
</tr>
{* initialize preview text *}
@@
-185,7
+191,7
@@
function handlePluginCheckboxes() {
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.expenses.control}</td>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.expenses.control}</td>
- <td><label for="expenses">{$i18n.title.expenses}</label> {$forms.profileForm.tax_expenses.control} <span id="tax_label"><label for="tax_expenses">{$i18n.label.tax}</label></span></td>
+ <td><label for="expenses">{$i18n.title.expenses}</label> {$forms.profileForm.tax_expenses.control} <span id="tax_label"><label for="tax_expenses">{$i18n.label.tax}</label></span>
<span id="expenses_config"><a href="predefined_expenses.php">{$i18n.label.configure}</a></span>
</td>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.notifications.control}</td>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.notifications.control}</td>