Sha256: 28e3cba0b865b1669881dca9bb3eb094a2b7d708adc08f3948826b909b30620a

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

- if @build
  .panel.panel-default
    .panel-heading
      Current Build

    .panel-body

      .col-sm-8

        %strong= @build.branch
        \-
        = @build.commit.message

      .pull-right.stats
        %p
          != Perkins.Helpers.status_label(@build.status)

        %p.small
          %abbr.timeago{title: @build.build_time}

        %p.small
          duration:
          %strong
            = "#{Perkins.Helpers.round(@build.duration)} secs"


      .col-sm-12
        %img.avatar{ src: Perkins.Helpers.gravatar_url( @build.commit.email, 35) }
        %strong= @build.commit.author
        = @build.commit.email

        .pull-right
          %a{href: Perkins.Helpers.commit_url(@, @build.sha), target: "blank"}
            %img{src: "/assets/github.svg", width:"20px"}
            = "commit ... #{@build.sha.substr(0, 6)}"

        %strong
          %abbr.timeago{title @build.commit.created_at}

    %ul.list-group
      %li.list-group-item.build-item

        .build-response
          %p
          %pre#log.ansi= @build.response

- else
  .alert.alert-warning
    No builds yet.

    %a{:href => "/repos/#{@name}/run_commit"}
      Run last commit in master branch

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
perkins-0.0.3 lib/perkins/assets/javascripts/templates/repos/report_detail.hamlc
perkins-0.0.2 lib/perkins/assets/javascripts/templates/repos/report_detail.hamlc