File: _personalize.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (25 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.row
  .form-group.col-sm-12.gl-mb-0
    %label.label-bold
      = _('Now, personalize your GitLab experience')
    %p
      = _("We'll use this to help surface the right features and information to you.")

.row
  .form-group.col-sm-4
    = label :user, :role, _('Role')
    = select :user, :role, ::User.roles.keys.map { |role| [localized_user_roles[role] || role.titleize, role] }, { selected: @current_user.role }, class: 'form-control'

.row
  .form-group.col-sm-4
    = f.label :setup_for_company, _('Who will be using this group?')
    .gl-flex.gl-flex-col.lg:gl-flex-row
      .gl-grow.gl-flex.gl-items-center
        = f.gitlab_ui_radio_component :setup_for_company, true, _('My company or team')
      .gl-grow.gl-flex.gl-items-center
        = f.gitlab_ui_radio_component :setup_for_company, false, _('Just me')

.row
  .form-group.col-sm-4
    = f.label :jobs_to_be_done, _("What will you use this group for?")
    = f.select :jobs_to_be_done, ::NamespaceSetting.jobs_to_be_dones.keys.map { |job_to_be_done| [localized_jobs_to_be_done_choices[job_to_be_done], job_to_be_done] }, { include_blank: true }, class: 'form-control'