Commit adebf702 authored by Stan Hu's avatar Stan Hu

Merge pull request #9436 from bbodenmiller/patch-4

capitalize URL in "Home page URL"
parents 5fad0b58 692e381e
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
= f.text_area :restricted_signup_domains_raw, placeholder: 'domain.com', class: 'form-control' = f.text_area :restricted_signup_domains_raw, placeholder: 'domain.com', class: 'form-control'
.help-block Only users with e-mail addresses that match these domain(s) will be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com .help-block Only users with e-mail addresses that match these domain(s) will be able to sign-up. Wildcards allowed. Use separate lines for multiple entries. Ex: domain.com, *.domain.com
.form-group .form-group
= f.label :home_page_url, class: 'control-label col-sm-2' = f.label :home_page_url, 'Home page URL', class: 'control-label col-sm-2'
.col-sm-10 .col-sm-10
= f.text_field :home_page_url, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block' = f.text_field :home_page_url, class: 'form-control', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block'
%span.help-block#home_help_block We will redirect non-logged in users to this page %span.help-block#home_help_block We will redirect non-logged in users to this page
......
...@@ -6,7 +6,7 @@ class Spinach::Features::AdminSettings < Spinach::FeatureSteps ...@@ -6,7 +6,7 @@ class Spinach::Features::AdminSettings < Spinach::FeatureSteps
step 'I modify settings and save form' do step 'I modify settings and save form' do
uncheck 'Gravatar enabled' uncheck 'Gravatar enabled'
fill_in 'Home page url', with: 'https://about.gitlab.com/' fill_in 'Home page URL', with: 'https://about.gitlab.com/'
click_button 'Save' click_button 'Save'
end end
......
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