Sha256: b7ce178f2d4788e3cd03ac39ee646e55ffe62acbda4ac5e5122678631fa3946f

Contents?: true

Size: 996 Bytes

Versions: 6

Compression:

Stored size: 996 Bytes

Contents

#administrative
  %a{ :href => project_path(@project, :edit) } Edit Project

- if @project.builds.empty?
  %form.blank_slate{ :action => project_path(@project, :builds), :method => :post }
    %p No builds for this project, buddy
    %h1
      You can request a
      %button{ :type => :submit } manual build
- else
  - @build = @project.last_build
  #last_build{ :class => @build.status }
    = partial(:build_info, :build => @build)

  %form{ :action => project_path(@project, :builds), :method => :post }
    %p.submit
      %button{ :type => :submit } Request Manual Build

  - unless @project.previous_builds.empty?
    %h2 Previous builds
    %ul#previous_builds
      - @project.previous_builds.each do |build|
        %li{ :class => build.status }
          %a{ :href => build_path(build) }
            %strong.build<
              &== Build #{build.short_commit_identifier}
            %span.attribution<
              == by #{build.commit_author.name}, #{pretty_date build.commited_at}

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
brycethornton-integrity-0.1.7.1 views/project.haml
foca-integrity-0.1.6 views/project.haml
foca-integrity-0.1.7 views/project.haml
foca-integrity-0.1.8 views/project.haml
myronmarston-integrity-0.1.7.1 views/project.haml
integrity-0.1.8 views/project.haml