summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Lee <mattl@gitlab.com>2016-10-25 14:41:01 -0400
committerMatt Lee <mattl@gitlab.com>2016-10-25 14:41:01 -0400
commitb45eae2d492b44e0ee55bf13887f932214277390 (patch)
tree5e75d36706f05c05bb0064bbc57df3bd87e67311
parent3fe36c5b5356ee76edc7010e4d91073b2063495a (diff)
downloadgitlab-ce-fix-capitalization.tar.gz
Fix capitalization in notification to be consistent with other notifications.fix-capitalization
-rw-r--r--app/views/notify/project_was_moved_email.html.haml4
-rw-r--r--app/views/notify/project_was_moved_email.text.erb4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/notify/project_was_moved_email.html.haml b/app/views/notify/project_was_moved_email.html.haml
index 87b3ff7f0b3..da6e480264b 100644
--- a/app/views/notify/project_was_moved_email.html.haml
+++ b/app/views/notify/project_was_moved_email.html.haml
@@ -5,11 +5,11 @@
= link_to namespace_project_url(@project.namespace, @project) do
= @project.name_with_namespace
%p
- To update the remote url in your local repository run (for ssh):
+ To update the remote URL in your local repository run (for SSH):
%p{ style: "background: #f5f5f5; padding:10px; border:1px solid #ddd" }
git remote set-url origin #{@project.ssh_url_to_repo}
%p
- or for http(s):
+ or for HTTP(S):
%p{ style: "background: #f5f5f5; padding:10px; border:1px solid #ddd" }
git remote set-url origin #{@project.http_url_to_repo}
%br
diff --git a/app/views/notify/project_was_moved_email.text.erb b/app/views/notify/project_was_moved_email.text.erb
index b2c5f71e465..2ca706f21b8 100644
--- a/app/views/notify/project_was_moved_email.text.erb
+++ b/app/views/notify/project_was_moved_email.text.erb
@@ -4,7 +4,7 @@ The project is now located under
<%= namespace_project_url(@project.namespace, @project) %>
-To update the remote url in your local repository run (for ssh):
+To update the remote URL in your local repository run (for SSH):
git remote set-url origin <%= @project.ssh_url_to_repo %>
-or for http(s):
+or for HTTP(S):
git remote set-url origin <%= @project.http_url_to_repo %>