2018-09-06 15:20:42 -04:00
|
|
|
%tr
|
|
|
|
%td{ colspan: 2, style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #333333; font-size: 14px; font-weight: 400; line-height: 1.4; padding: 0 8px 16px; text-align: center;" }
|
2022-06-28 02:09:30 -04:00
|
|
|
= n_('had %{count} failed job', 'had %{count} failed jobs', failed.size).html_safe % { count: failed.size }
|
|
|
|
|
2018-09-06 15:20:42 -04:00
|
|
|
%tr.table-warning
|
|
|
|
%td{ style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; border: 1px solid #ededed; border-bottom: 0; border-radius: 4px 4px 0 0; overflow: hidden; background-color: #fdf4f6; color: #d22852; font-size: 14px; line-height: 1.4; text-align: center; padding: 8px 16px;" }
|
2022-07-01 08:08:08 -04:00
|
|
|
= n_('Failed job', 'Failed jobs', failed.size)
|
2018-09-06 15:20:42 -04:00
|
|
|
%tr.section
|
|
|
|
%td{ style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; padding: 0 16px; border: 1px solid #ededed; border-radius: 4px; overflow: hidden; border-top: 0; border-radius: 0 0 4px 4px;" }
|
|
|
|
%table.builds{ border: "0", cellpadding: "0", cellspacing: "0", style: "width: 100%; border-collapse: collapse;" }
|
|
|
|
%tbody
|
|
|
|
- failed.each do |build|
|
|
|
|
%tr.build-state
|
|
|
|
%td{ style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; padding: 16px 0; color: #8c8c8c; font-weight: 500; font-size: 14px;" }
|
|
|
|
%table.img{ border: "0", cellpadding: "0", cellspacing: "0", style: "border-collapse: collapse;" }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td{ style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #d22f57; font-weight: 500; font-size: 16px; vertical-align: middle; padding-right: 8px; line-height: 10px" }
|
|
|
|
%img{ alt: "✖", height: "10", src: image_url('mailers/ci_pipeline_notif_v1/icon-x-red.gif'), style: "display: block;", width: "10" }/
|
|
|
|
%td{ style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #8c8c8c; font-weight: 500; font-size: 14px; vertical-align: middle;" }
|
2022-08-26 08:11:48 -04:00
|
|
|
= build.stage_name
|
2018-09-06 15:20:42 -04:00
|
|
|
%td{ align: "right", style: "font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; padding: 16px 0; color: #8c8c8c; font-weight: 500; font-size: 14px;" }
|
|
|
|
= render "notify/links/#{build.to_partial_path}", pipeline: pipeline, build: build
|