lib/bait/views/builds.haml in bait-0.3.2 vs lib/bait/views/builds.haml in bait-0.4.0

- old
+ new

@@ -1,21 +1,19 @@ Listing Builds %ul - @builds.each do |build| - %li + %li.build %hr .name= build.name %a.clone_url{href:build.clone_url}= build.clone_url .ref= build.ref .status Status: - if build.tested? = build.passed? ? "Passed!" : "Failed!" - else Queued - .output - Output: - %pre= build.output + %pre.output= build.html_output .actions %a{href:"/build/remove/#{build.id}"} Remove %a{href:"/build/retest/#{build.id}"} Retest %hr