summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bodenmiller <bbodenmiller@hotmail.com>2015-07-26 02:21:10 -0700
committerBen Bodenmiller <bbodenmiller@hotmail.com>2015-08-17 23:16:18 -0700
commit692e381e0cbc0295f0a5141579369a30d139128d (patch)
tree127bdae1494ede52eb85ef2900c0354a509b31bb
parent5fad0b585eb50e86aa09b18e99c5efdc4357ba2c (diff)
downloadgitlab-ce-692e381e0cbc0295f0a5141579369a30d139128d.tar.gz
capitalize URL in "Home page URL"
-rw-r--r--app/views/admin/application_settings/_form.html.haml2
-rw-r--r--features/steps/admin/settings.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index 6bef33c6d7a..b67d2116fa4 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -90,7 +90,7 @@
= 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
.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
= 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
diff --git a/features/steps/admin/settings.rb b/features/steps/admin/settings.rb
index 147a4bd7486..7a6aec23af8 100644
--- a/features/steps/admin/settings.rb
+++ b/features/steps/admin/settings.rb
@@ -6,7 +6,7 @@ class Spinach::Features::AdminSettings < Spinach::FeatureSteps
step 'I modify settings and save form' do
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'
end