Skip to content
Snippets Groups Projects
Commit 1b1c6ebf authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Fix the template

parent 98525212
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,8 +26,7 @@
had
= failed.size
failed
= 'job'.plural(failed.size)
.
= 'job'.pluralize(failed.size)
 
- failed.each do |job|
.p
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@ Commit Message: <%= @pipeline.git_commit_message %>
Commit Author: <%= @pipeline.git_author_name %>
Pusher: <%= @pipeline.user.try(:name) %>
<% failed = @pipeline.statuses.latest.failed %>
Pipeline #<%= @pipeline.id %> had <%= failed.size %> failed <%= 'job'.plural(failed.size) %>.
Pipeline #<%= @pipeline.id %> had <%= failed.size %> failed <%= 'job'.pluralize(failed.size) %>.
 
<% failed.each do |job| %>
ID: <%= job.id %>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment