diff --git a/lib/cijoe/views/template.erb b/lib/cijoe/views/template.erb index 79563f3..8cbf3ae 100644 --- a/lib/cijoe/views/template.erb +++ b/lib/cijoe/views/template.erb @@ -239,7 +239,9 @@ ul.posts { <% if joe.last_build %>
  • <%= pretty_time(joe.last_build.finished_at) %> » Built <%= joe.last_build.short_sha %> (<%= joe.last_build.status %>)
  • -
  • <%=bash_color_codes h(joe.last_build.output) %>
  • + <% if joe.last_build.failed? %> +
  • <%=bash_color_codes h(joe.last_build.output) %>
  • + <% end %> <% end %>