X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=bb73a69ed57833def5ee8ca2e9a832e3cefa38b4;hb=7bce64d44641b6fa36877db2bc9a1f1f78ac73eb;hp=e766ffb8ba14eea5b0bc47be9e2a657c1da135b1;hpb=a0b1d0a4dfd23d96f60c2fe03c9b3682df2fe88f;p=timetracker.git
diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl
index e766ffb8..bb73a69e 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";
+ }
}
@@ -152,6 +160,10 @@ 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} |
@@ -162,7 +174,7 @@ function handlePluginCheckboxes() {
{$i18n.form.profile.uncompleted_indicators}: |
- {$forms.profileForm.uncompleted_indicators.control} |
+ {$forms.profileForm.uncompleted_indicators.control} {$i18n.label.what_is_it} |
{if $user->isManager()}
@@ -205,12 +217,10 @@ function handlePluginCheckboxes() {
{$forms.profileForm.invoices.control} |
|
-{if ($smarty.const.DEBUG_PAID_STATUS == 1)}
{$forms.profileForm.paid_status.control} |
|
-{/if}
{$forms.profileForm.custom_fields.control} |
{$i18n.label.configure} |
@@ -231,6 +241,10 @@ function handlePluginCheckboxes() {
{$forms.profileForm.quotas.control} |
{$i18n.label.configure} |
+
+ {$forms.profileForm.week_view.control} |
+ {$i18n.label.configure} |
+
{/if}