projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A bit of cleanup.
[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
aea6773
..
4a05bb0
100644
(file)
--- a/
WEB-INF/templates/profile_edit.tpl
+++ b/
WEB-INF/templates/profile_edit.tpl
@@
-19,7
+19,7
@@
function handlePluginCheckboxes() {
var clientsCheckbox = document.getElementById("clients");
var invoicesCheckbox = document.getElementById("invoices");
var requiredCheckbox = document.getElementById("client_required");
var clientsCheckbox = document.getElementById("clients");
var invoicesCheckbox = document.getElementById("invoices");
var requiredCheckbox = document.getElementById("client_required");
- var requiredLabel = document.getElementById("required_label");
+ var requiredLabel = document.getElementById("
client_
required_label");
if (clientsCheckbox.checked) {
requiredCheckbox.style.visibility = "visible";
requiredLabel.style.visibility = "visible";
if (clientsCheckbox.checked) {
requiredCheckbox.style.visibility = "visible";
requiredLabel.style.visibility = "visible";
@@
-142,11
+142,11
@@
function handlePluginCheckboxes() {
<td>{$forms.profileForm.decimal_mark.control} <font id="decimal_preview" color="#777777"> </font></td>
<tr>
<td align="right" nowrap>{$i18n.label.date_format}:</td>
<td>{$forms.profileForm.decimal_mark.control} <font id="decimal_preview" color="#777777"> </font></td>
<tr>
<td align="right" nowrap>{$i18n.label.date_format}:</td>
- <td>{$forms.profileForm.
format_date
.control} <font id="date_format_preview" color="#777777"> </font></td>
+ <td>{$forms.profileForm.
date_format
.control} <font id="date_format_preview" color="#777777"> </font></td>
</tr>
<tr>
<td align="right" nowrap>{$i18n.label.time_format}:</td>
</tr>
<tr>
<td align="right" nowrap>{$i18n.label.time_format}:</td>
- <td>{$forms.profileForm.
format_time
.control} <font id="time_format_preview" color="#777777"> </font></td>
+ <td>{$forms.profileForm.
time_format
.control} <font id="time_format_preview" color="#777777"> </font></td>
</tr>
<tr>
<td align="right" nowrap>{$i18n.label.week_start}:</td>
</tr>
<tr>
<td align="right" nowrap>{$i18n.label.week_start}:</td>
@@
-164,7
+164,12
@@
function handlePluginCheckboxes() {
<td align="right" nowrap>{$i18n.form.profile.uncompleted_indicators}:</td>
<td>{$forms.profileForm.uncompleted_indicators.control}</td>
</tr>
<td align="right" nowrap>{$i18n.form.profile.uncompleted_indicators}:</td>
<td>{$forms.profileForm.uncompleted_indicators.control}</td>
</tr>
-
+{if $user->isManager()}
+ <tr>
+ <td align="right" nowrap>{$i18n.label.bcc}:</td>
+ <td>{$forms.profileForm.bcc_email.control} <a href="https://www.anuko.com/lp/tt_10.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
+ </tr>
+{/if}
{* initialize preview text *}
<script>
MakeFormatPreview("date_format_preview", document.getElementById("format_date"));
{* initialize preview text *}
<script>
MakeFormatPreview("date_format_preview", document.getElementById("format_date"));
@@
-194,12
+199,18
@@
function handlePluginCheckboxes() {
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.clients.control}</td>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.clients.control}</td>
- <td><label for="clients">{$i18n.title.clients}</label> {$forms.profileForm.client_required.control} <span id="required_label"><label for="client_required">{$i18n.label.required}</label></span></td>
+ <td><label for="clients">{$i18n.title.clients}</label> {$forms.profileForm.client_required.control} <span id="
client_
required_label"><label for="client_required">{$i18n.label.required}</label></span></td>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.invoices.control}</td>
<td><label for="invoices">{$i18n.title.invoices}</label></td>
</tr>
</tr>
<tr>
<td align="right" nowrap>{$forms.profileForm.invoices.control}</td>
<td><label for="invoices">{$i18n.title.invoices}</label></td>
</tr>
+{if ($smarty.const.DEBUG_PAID_STATUS == 1)}
+ <tr>
+ <td align="right" nowrap>{$forms.profileForm.paid_status.control}</td>
+ <td><label for="paid_status">{$i18n.label.paid_status}</label></td>
+ </tr>
+{/if}
<tr>
<td align="right" nowrap>{$forms.profileForm.custom_fields.control}</td>
<td><label for="custom_fields">{$i18n.label.custom_fields}</label> <span id="cf_config"><a href="cf_custom_fields.php">{$i18n.label.configure}</a></span></td>
<tr>
<td align="right" nowrap>{$forms.profileForm.custom_fields.control}</td>
<td><label for="custom_fields">{$i18n.label.custom_fields}</label> <span id="cf_config"><a href="cf_custom_fields.php">{$i18n.label.configure}</a></span></td>