Commit 2be7c273 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflicts in app/views/admin/application_settings/

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent b827e126
...@@ -13,12 +13,9 @@ ...@@ -13,12 +13,9 @@
.form-group .form-group
= f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'label-light' = f.label :max_attachment_size, 'Maximum attachment size (MB)', class: 'label-light'
= f.number_field :max_attachment_size, class: 'form-control' = f.number_field :max_attachment_size, class: 'form-control'
<<<<<<< HEAD
= render 'repository_size_limit_setting', form: f = render 'repository_size_limit_setting', form: f
=======
>>>>>>> upstream/master
.form-group .form-group
= f.label :session_expire_delay, 'Session duration (minutes)', class: 'label-light' = f.label :session_expire_delay, 'Session duration (minutes)', class: 'label-light'
= f.number_field :session_expire_delay, class: 'form-control' = f.number_field :session_expire_delay, class: 'form-control'
...@@ -35,7 +32,6 @@ ...@@ -35,7 +32,6 @@
= f.check_box :user_default_external, class: 'form-check-input' = f.check_box :user_default_external, class: 'form-check-input'
= f.label :user_default_external, class: 'form-check-label' do = f.label :user_default_external, class: 'form-check-label' do
Newly registered users will by default be external Newly registered users will by default be external
<<<<<<< HEAD
- if ::Gitlab.dev_env_or_com? - if ::Gitlab.dev_env_or_com?
.form-group .form-group
...@@ -45,7 +41,5 @@ ...@@ -45,7 +41,5 @@
= f.label :check_namespace_plan, class: 'form-check-label' do = f.label :check_namespace_plan, class: 'form-check-label' do
Enabling this will only make licensed EE features available to projects if the project namespace's plan Enabling this will only make licensed EE features available to projects if the project namespace's plan
includes the feature or if the project is public. includes the feature or if the project is public.
=======
>>>>>>> upstream/master
= f.submit 'Save changes', class: 'btn btn-success' = f.submit 'Save changes', class: 'btn btn-success'
...@@ -20,12 +20,9 @@ ...@@ -20,12 +20,9 @@
= f.check_box :shared_runners_enabled, class: 'form-check-input' = f.check_box :shared_runners_enabled, class: 'form-check-input'
= f.label :shared_runners_enabled, class: 'form-check-label' do = f.label :shared_runners_enabled, class: 'form-check-label' do
Enable shared runners for new projects Enable shared runners for new projects
<<<<<<< HEAD
= render 'shared_runners_minutes_setting', form: f = render 'shared_runners_minutes_setting', form: f
=======
>>>>>>> upstream/master
.form-group .form-group
= f.label :shared_runners_text, class: 'label-light' = f.label :shared_runners_text, class: 'label-light'
= f.text_area :shared_runners_text, class: 'form-control', rows: 4 = f.text_area :shared_runners_text, class: 'form-control', rows: 4
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
By default GitLab sends emails in HTML and plain text formats so mail By default GitLab sends emails in HTML and plain text formats so mail
clients can choose what format to use. Disable this option if you only clients can choose what format to use. Disable this option if you only
want to send emails in plain text format. want to send emails in plain text format.
<<<<<<< HEAD
-# EE-specific start -# EE-specific start
- if License.feature_available?(:email_additional_text) - if License.feature_available?(:email_additional_text)
.form-group .form-group
...@@ -29,7 +28,5 @@ ...@@ -29,7 +28,5 @@
.form-text.text-muted .form-text.text-muted
= _('Add additional text to appear in all email communications. %{character_limit} character limit') % { character_limit: number_with_delimiter(Gitlab::CurrentSettings.email_additional_text_character_limit) } = _('Add additional text to appear in all email communications. %{character_limit} character limit') % { character_limit: number_with_delimiter(Gitlab::CurrentSettings.email_additional_text_character_limit) }
-# EE-specific end -# EE-specific end
=======
>>>>>>> upstream/master
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -3,13 +3,10 @@ ...@@ -3,13 +3,10 @@
%fieldset %fieldset
.form-group .form-group
<<<<<<< HEAD
= f.label :help_text, class: 'label-light' = f.label :help_text, class: 'label-light'
= f.text_area :help_text, class: 'form-control', rows: 4 = f.text_area :help_text, class: 'form-control', rows: 4
.form-text.text-muted Markdown enabled .form-text.text-muted Markdown enabled
.form-group .form-group
=======
>>>>>>> upstream/master
= f.label :help_page_text, class: 'label-light' = f.label :help_page_text, class: 'label-light'
= f.text_area :help_page_text, class: 'form-control', rows: 4 = f.text_area :help_page_text, class: 'form-control', rows: 4
.form-text.text-muted Markdown enabled .form-text.text-muted Markdown enabled
......
...@@ -11,11 +11,8 @@ ...@@ -11,11 +11,8 @@
%span.form-text.text-muted %span.form-text.text-muted
If disabled, only admins will be able to setup mirrors in projects. If disabled, only admins will be able to setup mirrors in projects.
= link_to icon('question-circle'), help_page_path('workflow/repository_mirroring') = link_to icon('question-circle'), help_page_path('workflow/repository_mirroring')
<<<<<<< HEAD
- if Gitlab.com? && License.feature_available?(:repository_mirrors) - if Gitlab.com? && License.feature_available?(:repository_mirrors)
= render 'mirror_settings', f: f = render 'mirror_settings', f: f
=======
>>>>>>> upstream/master
= f.submit 'Save changes', class: "btn btn-success" = f.submit 'Save changes', class: "btn btn-success"
...@@ -24,11 +24,7 @@ ...@@ -24,11 +24,7 @@
Enable domain blacklist for sign ups Enable domain blacklist for sign ups
.form-group .form-group
.form-check .form-check
<<<<<<< HEAD
= radio_button_tag :blacklist_type, :file, false, class: "form-check-input"
=======
= radio_button_tag :blacklist_type, :file, false, class: 'form-check-input' = radio_button_tag :blacklist_type, :file, false, class: 'form-check-input'
>>>>>>> upstream/master
= label_tag :blacklist_type_file, class: 'form-check-label' do = label_tag :blacklist_type_file, class: 'form-check-label' do
.option-title .option-title
Upload blacklist file Upload blacklist file
......
...@@ -5,10 +5,7 @@ ...@@ -5,10 +5,7 @@
.form-group .form-group
= f.label :default_branch_protection, class: 'label-light' = f.label :default_branch_protection, class: 'label-light'
= f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, @application_setting.default_branch_protection), {}, class: 'form-control' = f.select :default_branch_protection, options_for_select(Gitlab::Access.protection_options, @application_setting.default_branch_protection), {}, class: 'form-control'
<<<<<<< HEAD
= render partial: 'admin/application_settings/ee/project_creation_level', locals: { form: f, application_setting: @application_setting } = render partial: 'admin/application_settings/ee/project_creation_level', locals: { form: f, application_setting: @application_setting }
=======
>>>>>>> upstream/master
.form-group.visibility-level-setting .form-group.visibility-level-setting
= f.label :default_project_visibility, class: 'label-light' = f.label :default_project_visibility, class: 'label-light'
= render('shared/visibility_radios', model_method: :default_project_visibility, form: f, selected_level: @application_setting.default_project_visibility, form_model: Project.new) = render('shared/visibility_radios', model_method: :default_project_visibility, form: f, selected_level: @application_setting.default_project_visibility, form_model: Project.new)
...@@ -23,7 +20,6 @@ ...@@ -23,7 +20,6 @@
- checkbox_name = 'application_setting[restricted_visibility_levels][]' - checkbox_name = 'application_setting[restricted_visibility_levels][]'
= hidden_field_tag(checkbox_name) = hidden_field_tag(checkbox_name)
- restricted_level_checkboxes('restricted-visibility-help', checkbox_name, class: 'form-check-input').each do |level| - restricted_level_checkboxes('restricted-visibility-help', checkbox_name, class: 'form-check-input').each do |level|
<<<<<<< HEAD
.form-check .form-check
= level = level
%span.form-text.text-muted#restricted-visibility-help %span.form-text.text-muted#restricted-visibility-help
...@@ -53,25 +49,6 @@ ...@@ -53,25 +49,6 @@
%span.form-text.text-muted %span.form-text.text-muted
If checked, group owners can manage LDAP group links and LDAP member overrides If checked, group owners can manage LDAP group links and LDAP member overrides
= link_to icon('question-circle'), help_page_path('administration/auth/ldap-ee') = link_to icon('question-circle'), help_page_path('administration/auth/ldap-ee')
=======
.form-check
= level
%span.form-text.text-muted#restricted-visibility-help
Selected levels cannot be used by non-admin users for groups, projects or snippets.
If the public level is restricted, user profiles are only visible to logged in users.
.form-group
= f.label :import_sources, class: 'label-light'
= hidden_field_tag 'application_setting[import_sources][]'
- import_sources_checkboxes('import-sources-help', class: 'form-check-input').each do |source|
.form-check= source
%span.form-text.text-muted#import-sources-help
Enabled sources for code import during project creation. OmniAuth must be configured for GitHub
= link_to "(?)", help_page_path("integration/github")
, Bitbucket
= link_to "(?)", help_page_path("integration/bitbucket")
and GitLab.com
= link_to "(?)", help_page_path("integration/gitlab")
>>>>>>> upstream/master
.form-group .form-group
.form-check .form-check
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment