X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=955f7d5a028616db7f9f693eac57cf0b00ba0ac4;hb=7ea057af633d933eb5b39cceb112c3cc98c55a1d;hp=032cc5f4355f967ba43df4e7f88044487772d7bc;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl
index 032cc5f4..955f7d5a 100644
--- a/WEB-INF/templates/profile_edit.tpl
+++ b/WEB-INF/templates/profile_edit.tpl
@@ -1,21 +1,36 @@
@@ -65,7 +110,6 @@ function handlePluginCheckboxes() {
{$i18n.label.login} (*): |
{$forms.profileForm.login.control} |
-
{if !$auth_external}
{$i18n.label.password} (*): |
@@ -76,7 +120,6 @@ function handlePluginCheckboxes() {
{$forms.profileForm.password2.control} |
{/if}
-
{$i18n.label.email}: |
{$forms.profileForm.email.control} |
@@ -86,7 +129,7 @@ function handlePluginCheckboxes() {
{$i18n.label.required_fields} |
-{if $user->canManageTeam()}
+{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))}
|
@@ -94,18 +137,16 @@ function handlePluginCheckboxes() {
{$i18n.label.team_name}: |
{$forms.profileForm.team_name.control} |
-
{$i18n.label.currency}: |
{$forms.profileForm.currency.control} |
+ {if defined(DEBUG_ROLES)}
- {$i18n.label.lock_interval}: |
- {$forms.profileForm.lock_interval.control} |
+ {$i18n.label.roles}: |
+ {$i18n.label.configure} |
+ {/if}
{$i18n.label.language}: |
{$forms.profileForm.lang.control} |
@@ -115,30 +156,55 @@ 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_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 *}