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

- old
+ new

@@ -1,22 +1,18 @@ Listing Builds %ul - @builds.each do |build| - %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 - %pre.output= build.html_output + %li.build{id:build.id} + .header{class:build.status} + .status_icon= build.status + %a{href:build.clone_url}= build.name + .ref build.ref + .output + %pre= build.output .actions - %a{href:"/build/remove/#{build.id}"} Remove - %a{href:"/build/retest/#{build.id}"} Retest + %a{href:"/build/#{build.id}/remove"} Remove + | + %a{href:"/build/#{build.id}/retest"} Retest %hr .manual_clone To clone manually without waiting for a post-receive hook, enter the following and hit submit