Sha256: b7001aee637d760b0c6bcd24db4783830f5adee94e897ea536f8f93446b1f8f3

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

%div{id: "repo-#{repo.id}" }

  = haml :"repos/menu" , locals:{ repo: repo, active: "current", build: build}

  .title
    %h2
      %span#repo-name= repo.name
      = haml :"repos/spinner", locals: {repo: repo}

    %h5
      %strong= repo.url

  - if build.present?
    .panel.panel-default
      .panel-heading
        Current Build

      .panel-body

        .col-sm-8
          %strong= build.commit.branch
          \-
          = build.commit.message

        .pull-right
          = status_label(build.status)
          %p
          %abbr.timeago{title:build.build_time}
          %br
          duration:
          %strong= build.duration.to_i.round(2)


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

          .pull-right
            %a{href: commit_url(repo, build.sha), target: :blank}
              %img{src: "/assets/github.svg", width:"20px"}
              = "commit ... #{build["sha"][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/#{repo.name}/run_commit"}
        Run last commit in master branch




Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
perkins-0.0.1 lib/perkins/views/repos/repo.haml