diff options
author | Fabian Schneider <fabbbbbi+git@googlemail.com> | 2018-11-06 22:16:49 +0100 |
---|---|---|
committer | Fabian Schneider <fabbbbbi+git@googlemail.com> | 2019-02-06 17:33:56 +0100 |
commit | 27f7771ae1a4b5f9d973a55ccbbbe30b0e05f100 (patch) | |
tree | 6848af95359ff3cb1d84259df159a620b4b64bd5 /app/views/profiles/preferences/show.html.haml | |
parent | 20c83bbdb0a9729a308957397b37a2569486116f (diff) | |
download | gitlab-ce-27f7771ae1a4b5f9d973a55ccbbbe30b0e05f100.tar.gz |
Add setting for first day of the week
Diffstat (limited to 'app/views/profiles/preferences/show.html.haml')
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index c1616810185..5e1c1f30ca4 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -60,5 +60,23 @@ = f.select :project_view, project_view_choices, {}, class: 'form-control' .form-text.text-muted Choose what content you want to see on a project’s overview page. + + .col-sm-12 + %hr + + .col-lg-4.profile-settings-sidebar + %h4.prepend-top-0 + Localization + %p + Customize language and region related settings. + = succeed '.' do + = link_to 'Learn more', help_page_path('user/profile/preferences', anchor: 'localization'), target: '_blank' + .col-lg-8 + .form-group + = f.label :first_day_of_week, class: 'label-bold' do + First day of the week + = f.select :first_day_of_week, options_for_select(first_day_of_week_choices, @user.first_day_of_week || Gitlab::CurrentSettings.default_first_day_of_week), {}, class: 'form-control' + .form-text.text-muted + Choose on what day the week should start. .form-group = f.submit 'Save changes', class: 'btn btn-success' |