Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_visibility_level.html.haml « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c6ec198d3d460425f73702aa7cbb92eeb303623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.form-group.project-visibility-level-holder
  = f.label :visibility_level, class: 'control-label' do
    Visibility Level
    = link_to "(?)", help_page_path("public_access", "public_access")
  .col-sm-10
    - if can_change_visibility_level
      = render('shared/visibility_radios', model_method: :visibility_level, form: f, selected_level: visibility_level, form_model: form_model)
    - else
      .col-sm-10
        %span.info
          = visibility_level_icon(visibility_level)
          %strong
            = visibility_level_label(visibility_level)
          .light= visibility_level_description(visibility_level, form_model)