2019-02-20 16:56:19 +00:00
|
|
|
= form_for @application_setting, url: preferences_admin_application_settings_path(anchor: 'js-localization-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-11-06 21:16:49 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2019-01-10 21:06:42 +00:00
|
|
|
= f.label :first_day_of_week, _('Default first day of the week'), class: 'label-bold'
|
|
|
|
= f.select :first_day_of_week, first_day_of_week_choices, {}, class: 'form-control'
|
2018-11-06 21:16:49 +00:00
|
|
|
.form-text.text-muted
|
2018-11-13 18:38:26 +00:00
|
|
|
= _('Default first day of the week in calendars and date pickers.')
|
2021-12-23 03:10:23 +00:00
|
|
|
= link_to _('Learn more.'), help_page_path('user/admin_area/settings/index.md', anchor: 'default-first-day-of-the-week'), target: '_blank', rel: 'noopener noreferrer'
|
2018-11-06 21:16:49 +00:00
|
|
|
|
2019-06-11 09:48:42 +00:00
|
|
|
.form-group
|
2019-06-11 10:40:01 +00:00
|
|
|
= f.label :time_tracking, _('Time tracking'), class: 'label-bold'
|
2019-06-11 09:48:42 +00:00
|
|
|
.form-check
|
2019-06-11 10:40:01 +00:00
|
|
|
= f.check_box :time_tracking_limit_to_hours, class: 'form-check-input'
|
|
|
|
= f.label :time_tracking_limit_to_hours, class: 'form-check-label' do
|
|
|
|
= _('Limit display of time tracking units to hours.')
|
2021-07-06 12:07:43 +00:00
|
|
|
.form-text.text-muted
|
|
|
|
= _('Display time tracking in issues in total hours only.')
|
2021-12-23 03:10:23 +00:00
|
|
|
= link_to _('What is time tracking?'), help_page_path('user/project/time_tracking.md'), target: '_blank', rel: 'noopener noreferrer'
|
2019-06-11 09:48:42 +00:00
|
|
|
|
2021-03-09 15:08:59 +00:00
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
|
2021-07-06 12:07:43 +00:00
|
|
|
|