Skip to content

Commit

Permalink
Syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
erithmetic committed Sep 15, 2010
1 parent b3897fc commit 75c8d6e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions views/_build_info.haml
Expand Up @@ -2,7 +2,8 @@

%form{ :action => build_path(build), :method => :post }
%p.submit
%a.button{ :href => build_report_path(@build) } Report
- if build.completed? and build.project.name == 'PRISM Acceptance'
%a.button{ :href => build_report_path(build) } Report
%button{ :type => :submit, :title => "Rebuild this commit" }<
Rebuild

Expand All @@ -20,9 +21,9 @@
%a{ :href => github_commit_url(build) } view on GitHub

- if build.completed?
- if @build.project.name == 'PRISM Acceptance'
- if build.project.name == 'PRISM Acceptance'
%h2 Test Result:
%iframe{ :src => build_report_url(@build) }
%iframe{ :src => build_report_url(build) }
- else
%h2 Build Output:
%pre.output
Expand Down

0 comments on commit 75c8d6e

Please sign in to comment.