X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=244c6cb15bc215449322f3d68e72501d6ac5865c;hb=6753e281196a94e8a50d9c98d5195093e61fcefb;hp=7f8cd2811913f9db4782890aaf5a9b2211e1c269;hpb=e11d527ca80a0bf7079ce8bc78bcc027b0096f7a;p=timetracker.git
diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl
index 7f8cd281..244c6cb1 100644
--- a/WEB-INF/templates/profile_edit.tpl
+++ b/WEB-INF/templates/profile_edit.tpl
@@ -1,10 +1,25 @@
@@ -100,7 +129,7 @@ function handlePluginCheckboxes() {
{$i18n.label.required_fields} |
-{if $user->canManageTeam()}
+{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))}
|
@@ -112,6 +141,12 @@ function handlePluginCheckboxes() {
{$i18n.label.currency}: |
{$forms.profileForm.currency.control} |
+ {if $user->can('manage_roles')}
+
+ {$i18n.label.roles}: |
+ {$i18n.label.configure} |
+
+ {/if}
{$i18n.label.language}: |
{$forms.profileForm.lang.control} |
@@ -121,33 +156,54 @@ 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.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_entries.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 *}