X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=48511182cb69616ce814fa3d92ce5c08452e4141;hb=f022655c123fabf9a236b99f4ffe0591189a4b6d;hp=dc4f5a648f0cf06a835520516993549430d29148;hpb=dbbd522d3d3ce855bb8fce11bd1b6f411e5975b3;p=timetracker.git
diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl
index dc4f5a64..48511182 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";
+ }
}
@@ -121,7 +129,7 @@ function handlePluginCheckboxes() {
{$i18n.label.required_fields} |
-{if $user->canManageTeam()}
+{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))}
|
@@ -152,17 +160,33 @@ function handlePluginCheckboxes() {
{$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.punch_mode}: |
+ {$forms.profileForm.punch_mode.control} {$i18n.label.what_is_it} |
+
+
+ {$i18n.form.profile.allow_overlap}: |
+ {$forms.profileForm.allow_overlap.control} {$i18n.label.what_is_it} |
+
+
+ {$i18n.form.profile.future_entries}: |
+ {$forms.profileForm.future_entries.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()}
@@ -229,6 +253,10 @@ function handlePluginCheckboxes() {
{$forms.profileForm.quotas.control} |
{$i18n.label.configure} |
+
+ {$forms.profileForm.week_view.control} |
+ {$i18n.label.configure} |
+
{/if}