Commit 16e6431c authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent c33e2f0a
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
%a.muted{href: user_url(@project.namespace.owner), style: "color:#333333;text-decoration:none;"} %a.muted{href: user_url(@project.namespace.owner), style: "color:#333333;text-decoration:none;"}
= @project.namespace.owner.name = @project.namespace.owner.name
\/ \/
%a.muted{href: namespace_project_url(@project.namespace, @project), style: "color:#333333;text-decoration:none;"} %a.muted{href: project_url(@project), style: "color:#333333;text-decoration:none;"}
= @project.name = @project.name
%tr %tr
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;border-top:1px solid #ededed;"} Branch %td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;border-top:1px solid #ededed;"} Branch
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
= @pipeline.short_sha = @pipeline.short_sha
- if @merge_request - if @merge_request
in in
%a{href: namespace_project_merge_request_url(@project.namespace, @project, @merge_request), style: "color:#3084bb;text-decoration:none;"} %a{href: merge_request_url(@merge_request), style: "color:#3084bb;text-decoration:none;"}
= @merge_request.to_reference = @merge_request.to_reference
.commit{style: "color:#5c5c5c;font-weight:300;"} .commit{style: "color:#5c5c5c;font-weight:300;"}
= @pipeline.git_commit_message.truncate(50) = @pipeline.git_commit_message.truncate(50)
......
Your pipeline has failed. Your pipeline has failed.
Project: <%= @project.name %> ( <%= namespace_project_url(@project.namespace, @project) %> ) Project: <%= @project.name %> ( <%= project_url(@project) %> )
Branch: <%= @pipeline.ref %> ( <%= namespace_project_commits_url(@project.namespace, @project, @pipeline.ref) %> ) Branch: <%= @pipeline.ref %> ( <%= namespace_project_commits_url(@project.namespace, @project, @pipeline.ref) %> )
<% if @merge_request -%> <% if @merge_request -%>
Merge Request: <%= @merge_request.to_reference %> ( <%= namespace_project_merge_request_url(@project.namespace, @project, @merge_request) %> ) Merge Request: <%= @merge_request.to_reference %> ( <%= merge_request_url(@merge_request) %> )
<% end -%> <% end -%>
Commit: <%= @pipeline.short_sha %> ( <%= namespace_project_commit_url(@project.namespace, @project, @pipeline.sha) %> ) Commit: <%= @pipeline.short_sha %> ( <%= namespace_project_commit_url(@project.namespace, @project, @pipeline.sha) %> )
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
%a.muted{href: user_url(@project.namespace.owner), style: "color:#333333;text-decoration:none;"} %a.muted{href: user_url(@project.namespace.owner), style: "color:#333333;text-decoration:none;"}
= @project.namespace.owner.name = @project.namespace.owner.name
\/ \/
%a.muted{href: namespace_project_url(@project.namespace, @project), style: "color:#333333;text-decoration:none;"} %a.muted{href: project_url(@project), style: "color:#333333;text-decoration:none;"}
= @project.name = @project.name
%tr %tr
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;border-top:1px solid #ededed;"} Branch %td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;border-top:1px solid #ededed;"} Branch
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
= @pipeline.short_sha = @pipeline.short_sha
- if @merge_request - if @merge_request
in in
%a{href: namespace_project_merge_request_url(@project.namespace, @project, @merge_request), style: "color:#3084bb;text-decoration:none;"} %a{href: merge_request_url(@merge_request), style: "color:#3084bb;text-decoration:none;"}
= @merge_request.to_reference = @merge_request.to_reference
.commit{style: "color:#5c5c5c;font-weight:300;"} .commit{style: "color:#5c5c5c;font-weight:300;"}
= @pipeline.git_commit_message.truncate(50) = @pipeline.git_commit_message.truncate(50)
......
Your pipeline has passed. Your pipeline has passed.
Project: <%= @project.name %> ( <%= namespace_project_url(@project.namespace, @project) %> ) Project: <%= @project.name %> ( <%= project_url(@project) %> )
Branch: <%= @pipeline.ref %> ( <%= namespace_project_commits_url(@project.namespace, @project, @pipeline.ref) %> ) Branch: <%= @pipeline.ref %> ( <%= namespace_project_commits_url(@project.namespace, @project, @pipeline.ref) %> )
<% if @merge_request -%> <% if @merge_request -%>
Merge Request: <%= @merge_request.to_reference %> ( <%= namespace_project_merge_request_url(@project.namespace, @project, @merge_request) %> ) Merge Request: <%= @merge_request.to_reference %> ( <%= merge_request_url(@merge_request) %> )
<% end -%> <% end -%>
Commit: <%= @pipeline.short_sha %> ( <%= namespace_project_commit_url(@project.namespace, @project, @pipeline.sha) %> ) Commit: <%= @pipeline.short_sha %> ( <%= namespace_project_commit_url(@project.namespace, @project, @pipeline.sha) %> )
......
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