summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-20 14:48:19 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-20 14:48:19 +0200
commit679dc282d3427d9b56fa25bb799eb6189c81f787 (patch)
treec166d1efd2e5f43b2a4cb041177ca24641e41377
parent304e39438423b93207a0eddb0f46270153e65a61 (diff)
downloadgitlab-ci-4-1-stable.tar.gz
Fix links for GitLab CI emails4-1-stable
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/notify/build_fail_email.html.haml2
-rw-r--r--app/views/notify/build_success_email.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notify/build_fail_email.html.haml b/app/views/notify/build_fail_email.html.haml
index fba2c30..71e36e3 100644
--- a/app/views/notify/build_fail_email.html.haml
+++ b/app/views/notify/build_fail_email.html.haml
@@ -11,4 +11,4 @@
Author: #{@build.git_author_name}
%p
- Url: #{link_to(project_build_url(@build.project, @build), @build.short_sha)}
+ Url: #{link_to @build.short_sha, project_build_url(@build.project, @build)}
diff --git a/app/views/notify/build_success_email.html.haml b/app/views/notify/build_success_email.html.haml
index 8819325..9549408 100644
--- a/app/views/notify/build_success_email.html.haml
+++ b/app/views/notify/build_success_email.html.haml
@@ -11,4 +11,4 @@
Author: #{@build.git_author_name}
%p
- Url: #{link_to(project_build_url(@build.project, @build), @build.short_sha)}
+ Url: #{link_to @build.short_sha, project_build_url(@build.project, @build)}