2016-10-08 06:28:11 +00:00
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%html{lang: "en"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%head
|
2016-10-19 02:20:12 +00:00
|
|
|
|
%meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%meta{content: "width=device-width, initial-scale=1", name: "viewport"}/
|
2016-10-19 02:20:12 +00:00
|
|
|
|
%meta{content: "IE=edge", "http-equiv" => "X-UA-Compatible"}/
|
2016-10-08 06:28:17 +00:00
|
|
|
|
%title= message.subject
|
2016-10-06 03:20:34 +00:00
|
|
|
|
:css
|
|
|
|
|
/* CLIENT-SPECIFIC STYLES */
|
|
|
|
|
body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
|
|
|
|
table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
|
|
|
|
|
img { -ms-interpolation-mode: bicubic; }
|
|
|
|
|
|
|
|
|
|
/* iOS BLUE LINKS */
|
|
|
|
|
a[x-apple-data-detectors] {
|
|
|
|
|
color: inherit !important;
|
|
|
|
|
text-decoration: none !important;
|
|
|
|
|
font-size: inherit !important;
|
|
|
|
|
font-family: inherit !important;
|
|
|
|
|
font-weight: inherit !important;
|
|
|
|
|
line-height: inherit !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ANDROID MARGIN HACK */
|
|
|
|
|
body { margin:0 !important; }
|
|
|
|
|
div[style*="margin: 16px 0"] { margin:0 !important; }
|
|
|
|
|
|
|
|
|
|
@media only screen and (max-width: 639px) {
|
|
|
|
|
body, #body {
|
|
|
|
|
min-width: 320px !important;
|
|
|
|
|
}
|
|
|
|
|
table.wrapper {
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
min-width: 320px !important;
|
|
|
|
|
}
|
|
|
|
|
table.wrapper > tbody > tr > td {
|
|
|
|
|
border-left: 0 !important;
|
|
|
|
|
border-right: 0 !important;
|
|
|
|
|
border-radius: 0 !important;
|
|
|
|
|
padding-left: 10px !important;
|
|
|
|
|
padding-right: 10px !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%body{style: "background-color:#fafafa;margin:0;padding:0;text-align:center;min-width:640px;width:100%;height:100%;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;"}
|
|
|
|
|
%table#body{border: "0", cellpadding: "0", cellspacing: "0", style: "background-color:#fafafa;margin:0;padding:0;text-align:center;min-width:640px;width:100%;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr.line
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;background-color:#6b4fbb;height:4px;font-size:4px;line-height:4px;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tr.header
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:25px 0;font-size:13px;line-height:1.6;color:#5c5c5c;"}
|
|
|
|
|
%img{alt: "GitLab", height: "50", src: image_url('mailers/ci_pipeline_notif_v1/gitlab-logo.gif'), width: "55"}/
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;"}
|
|
|
|
|
%table.wrapper{border: "0", cellpadding: "0", cellspacing: "0", style: "width:640px;margin:0 auto;border-collapse:separate;border-spacing:0;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;background-color:#ffffff;text-align:left;padding:18px 25px;border:1px solid #ededed;border-radius:3px;overflow:hidden;"}
|
|
|
|
|
%table.content{border: "0", cellpadding: "0", cellspacing: "0", style: "width:100%;border-collapse:separate;border-spacing:0;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr.success
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:10px;border-radius:3px;font-size:14px;line-height:1.3;text-align:center;overflow:hidden;color:#ffffff;background-color:#31af64;"}
|
|
|
|
|
%table.img{border: "0", cellpadding: "0", cellspacing: "0", style: "border-collapse:collapse;margin:0 auto;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;vertical-align:middle;color:#ffffff;text-align:center;padding-right:5px;"}
|
|
|
|
|
%img{alt: "✓", height: "13", src: image_url('mailers/ci_pipeline_notif_v1/icon-check-green-inverted.gif'), style: "display:block;", width: "13"}/
|
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;vertical-align:middle;color:#ffffff;text-align:center;"}
|
2016-10-06 15:09:24 +00:00
|
|
|
|
Your pipeline has passed.
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tr.spacer
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
|
|
|
|
|
%tr.section
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:0 15px;border:1px solid #ededed;border-radius:3px;overflow:hidden;"}
|
|
|
|
|
%table.info{border: "0", cellpadding: "0", cellspacing: "0", style: "width:100%;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%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;"} Project
|
|
|
|
|
%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;color:#333333;font-weight:400;width:75%;padding-left:5px;"}
|
2016-10-12 22:42:56 +00:00
|
|
|
|
- namespace_name = @project.group ? @project.group.name : @project.namespace.owner.name
|
|
|
|
|
- namespace_url = @project.group ? group_url(@project.group) : user_url(@project.namespace.owner)
|
|
|
|
|
%a.muted{href: namespace_url, style: "color:#333333;text-decoration:none;"}
|
|
|
|
|
= namespace_name
|
2016-10-06 03:20:34 +00:00
|
|
|
|
\/
|
2016-10-12 17:43:23 +00:00
|
|
|
|
%a.muted{href: project_url(@project), style: "color:#333333;text-decoration:none;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= @project.name
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%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;color:#333333;font-weight:400;width:75%;padding-left:5px;border-top:1px solid #ededed;"}
|
|
|
|
|
%table.img{border: "0", cellpadding: "0", cellspacing: "0", style: "border-collapse:collapse;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"}
|
|
|
|
|
%img{height: "13", src: image_url('mailers/ci_pipeline_notif_v1/icon-branch-gray.gif'), style: "display:block;", width: "13"}/
|
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"}
|
2016-10-13 19:33:49 +00:00
|
|
|
|
%a.muted{href: commits_url(@pipeline), style: "color:#333333;text-decoration:none;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= @pipeline.ref
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%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;"} Commit
|
|
|
|
|
%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;color:#333333;font-weight:400;width:75%;padding-left:5px;border-top:1px solid #ededed;"}
|
|
|
|
|
%table.img{border: "0", cellpadding: "0", cellspacing: "0", style: "border-collapse:collapse;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"}
|
|
|
|
|
%img{height: "13", src: image_url('mailers/ci_pipeline_notif_v1/icon-commit-gray.gif'), style: "display:block;", width: "13"}/
|
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"}
|
2016-11-07 19:06:48 +00:00
|
|
|
|
%a{href: commit_url(@pipeline), style: "color:#3777b0;text-decoration:none;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= @pipeline.short_sha
|
|
|
|
|
- if @merge_request
|
|
|
|
|
in
|
2016-11-07 19:06:48 +00:00
|
|
|
|
%a{href: merge_request_url(@merge_request), style: "color:#3777b0;text-decoration:none;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= @merge_request.to_reference
|
2016-10-12 17:23:05 +00:00
|
|
|
|
.commit{style: "color:#5c5c5c;font-weight:300;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= @pipeline.git_commit_message.truncate(50)
|
|
|
|
|
%tr
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%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;"} Author
|
|
|
|
|
%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;color:#333333;font-weight:400;width:75%;padding-left:5px;border-top:1px solid #ededed;"}
|
|
|
|
|
%table.img{border: "0", cellpadding: "0", cellspacing: "0", style: "border-collapse:collapse;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tbody
|
|
|
|
|
%tr
|
|
|
|
|
- commit = @pipeline.commit
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;padding-right:5px;"}
|
|
|
|
|
%img.avatar{height: "24", src: avatar_icon(commit.author || commit.author_email, 24), style: "display:block;border-radius:12px;margin:-2px 0;", width: "24"}/
|
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;vertical-align:middle;"}
|
2016-10-13 05:18:00 +00:00
|
|
|
|
- if commit.author
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%a.muted{href: user_url(commit.author), style: "color:#333333;text-decoration:none;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= commit.author.name
|
2016-10-13 05:18:00 +00:00
|
|
|
|
- else
|
|
|
|
|
%span
|
|
|
|
|
= commit.author_name
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%tr.spacer
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;height:18px;font-size:18px;line-height:18px;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
|
|
|
|
|
%tr.success-message
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#333333;font-size:15px;font-weight:400;line-height:1.4;padding:15px 5px;text-align:center;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
- build_count = @pipeline.statuses.latest.size
|
2016-12-05 13:17:42 +00:00
|
|
|
|
- stage_count = @pipeline.stages_count
|
2016-10-06 03:20:34 +00:00
|
|
|
|
Pipeline
|
2016-11-07 19:06:48 +00:00
|
|
|
|
%a{href: pipeline_url(@pipeline), style: "color:#3777b0;text-decoration:none;"}
|
2016-10-06 03:20:34 +00:00
|
|
|
|
= "\##{@pipeline.id}"
|
|
|
|
|
successfully completed
|
|
|
|
|
= "#{build_count} #{'build'.pluralize(build_count)}"
|
|
|
|
|
in
|
|
|
|
|
= "#{stage_count} #{'stage'.pluralize(stage_count)}."
|
|
|
|
|
%tr.footer
|
2016-10-12 17:23:05 +00:00
|
|
|
|
%td{style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:25px 0;font-size:13px;line-height:1.6;color:#5c5c5c;"}
|
|
|
|
|
%img{alt: "GitLab", height: "33", src: image_url('mailers/ci_pipeline_notif_v1/gitlab-logo-full-horizontal.gif'), style: "display:block;margin:0 auto 1em;", width: "90"}/
|
2016-10-06 03:20:34 +00:00
|
|
|
|
%div
|
2016-11-07 19:06:48 +00:00
|
|
|
|
%a{href: profile_notifications_url, style: "color:#3777b0;text-decoration:none;"} Manage all notifications
|
2016-10-06 03:20:34 +00:00
|
|
|
|
·
|
2016-11-07 19:06:48 +00:00
|
|
|
|
%a{href: help_url, style: "color:#3777b0;text-decoration:none;"} Help
|
2016-10-07 22:05:31 +00:00
|
|
|
|
%div
|
|
|
|
|
You're receiving this email because of your account on
|
|
|
|
|
= succeed "." do
|
2016-11-07 19:06:48 +00:00
|
|
|
|
%a{href: root_url, style: "color:#3777b0;text-decoration:none;"}= Gitlab.config.gitlab.host
|