Sha256: 650029e6a956d1d6f834fe8390e69adbd2eac21428ed37e582ab7e8ed77b55b8

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 KB

Contents

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

- if @project.commits.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
  - @commit = @project.last_commit
  #last_build{ :class => @commit.status }
    = partial(:commit_info, :commit => @commit)

  %form{ :action => project_path(@project, :builds), :method => :post }
    %p.submit.manual-build
      %button{ :type => :submit, :title => "Fetch the last commit from the remote repository and build it" }<
        Fetch and build

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
integrity-integrity-0.1.10 views/project.haml
integrity-0.1.11 views/project.haml
integrity-0.1.10 views/project.haml