X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=420a1985af811e096d852f1f4bd963eb5de5336e;hb=e3ed046e205a14772a8157def21fea9a14acdde8;hp=d30d6ca34a28209243fe571ed7ee08b6bf3cf641;hpb=0a3f06e6606a8d6d19fb41ab0253cedd22d96b41;p=timetracker.git
diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl
index d30d6ca3..420a1985 100644
--- a/WEB-INF/templates/profile_edit.tpl
+++ b/WEB-INF/templates/profile_edit.tpl
@@ -81,6 +81,14 @@ function handlePluginCheckboxes() {
} else {
configureLabel.style.visibility = "hidden";
}
+
+ var weekViewCheckbox = document.getElementById("week_view");
+ configureLabel = document.getElementById("week_view_config");
+ if (weekViewCheckbox.checked){
+ configureLabel.style.visibility = "visible";
+ } else {
+ configureLabel.style.visibility = "hidden";
+ }
}
@@ -142,33 +150,46 @@ function handlePluginCheckboxes() {
{$forms.profileForm.decimal_mark.control} |
{$i18n.label.date_format}: |
- {$forms.profileForm.format_date.control} |
+ {$forms.profileForm.date_format.control} |
{$i18n.label.time_format}: |
- {$forms.profileForm.format_time.control} |
+ {$forms.profileForm.time_format.control} |
{$i18n.label.week_start}: |
{$forms.profileForm.start_week.control} |
+
+ {$i18n.form.profile.show_holidays}: |
+ {$forms.profileForm.show_holidays.control} {$i18n.label.what_is_it} |
+
{$i18n.form.profile.tracking_mode}: |
- {$forms.profileForm.tracking_mode.control} {$forms.profileForm.task_required.control} |
+ {$forms.profileForm.tracking_mode.control} {$forms.profileForm.task_required.control} |
{$i18n.form.profile.record_type}: |
{$forms.profileForm.record_type.control} |
+
+ {$i18n.form.profile.allow_overlap}: |
+ {$forms.profileForm.allow_overlap.control} {$i18n.label.what_is_it} |
+
{$i18n.form.profile.uncompleted_indicators}: |
- {$forms.profileForm.uncompleted_indicators.control} |
+ {$forms.profileForm.uncompleted_indicators.control} {$i18n.label.what_is_it} |
-
+{if $user->isManager()}
+
+ {$i18n.label.bcc}: |
+ {$forms.profileForm.bcc_email.control} {$i18n.label.what_is_it} |
+
+{/if}
{* initialize preview text *}