Sha256: 0023ab93e461e091dd0ef8d03542b198785216500e27e1e663efc9a49bdbefb8

Contents?: true

Size: 1.03 KB

Versions: 11

Compression:

Stored size: 1.03 KB

Contents

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

- if @project.builds.empty?
  %form.blank_slate{ :action => project_url(@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 }
    = haml(:build_info, :layout => false)

  %form{ :action => project_url(@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_url(build) }
            %strong.build
              Build
              &= build.short_commit_identifier
            %span.attribution
              by
              = succeed "," do
                &= build.commit_author.name
              &= pretty_date build.commited_at

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
bantic-integrity-0.1.4.1 views/project.haml
bantic-integrity-0.1.4.2 views/project.haml
bantic-integrity-0.1.4.3 views/project.haml
bantic-integrity-0.1.4.4 views/project.haml
bantic-integrity-0.1.4 views/project.haml
foca-integrity-0.1.0 views/project.haml
foca-integrity-0.1.1 views/project.haml
foca-integrity-0.1.2 views/project.haml
foca-integrity-0.1.3 views/project.haml
foca-integrity-0.1.4 views/project.haml
giraffesoft-integrity-0.1.4 views/project.haml