debian-mirror-gitlab/app/views/ci/notify/build_fail_email.html.haml
2015-10-24 18:46:33 +05:30

19 lines
616 B
Text

- content_for :header do
%h1{style: "background: #c40834; color: #FFF; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 5px 10px; line-height: 32px; font-size: 16px;"}
GitLab CI (build failed)
%h3
Project:
= link_to ci_project_url(@project) do
= @project.name
%p
Commit link: #{gitlab_commit_link(@project, @build.commit.short_sha)}
%p
Author: #{@build.commit.git_author_name}
%p
Branch: #{@build.ref}
%p
Message: #{@build.commit.git_commit_message}
%p
Url: #{link_to @build.short_sha, namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build)}