Sha256: b57421cfe321c428121277892a9db8df6f75943af63a4d33d6882e0ee528ef1e

Contents?: true

Size: 1.26 KB

Versions: 47

Compression:

Stored size: 1.26 KB

Contents

<div class="row single-deploy">
  <div class="user-image col-lg-1 col-md-1 col-sm-1" >
    <% if deploy.user != nil %>
      <img src= <%= deploy.user.avatar_url%> alt= <%= deploy.user.login %> >
    <% end %>
  </div>

  <!-- Show the repo name, git revision, and who deployed it when -->
  <div class="deploy-info col-lg-6 col-md-6 col-sm-6">
    <h4> 
      <%= link_to deploy.repo.name, repo_path(deploy.repo.name) %> /
      <%= link_to deploy.git_revision, deploy_path(deploy) %>
    </h4>
    <br>
    by 
    <% if deploy.user != nil %>
      <%= link_to deploy.user.login, user_path(deploy.user) %>
    <% else %>
      unknown
    <% end %>
    <%= "#{time_ago_in_words(deploy.deployed_at)} ago "%>
    <br>
  </div>

  <!-- Show a list of links with all the pull requests in the deploy -->
  <div class="col-lg-5 col-md-5 col-sm-5">
    <div class="deploy-right">
      <% deploy.pull_requests.each_with_index do |pull_request, index| %>
        <% if index == deploy.pull_requests.size - 1 %>
          <%= link_to pull_request.number.to_s, pull_request.html_url %>
          <span class="octicon octicon-mark-github"></span>
        <% else %>
          <%= link_to pull_request.number.to_s, pull_request.html_url %>,
        <% end %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
hubstats-1.2.1 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.2.0 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.1.0 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.0.0 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.0.0.beta3 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.0.0.beta2 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.0.0.beta1 app/views/hubstats/partials/_deploy.html.erb
hubstats-1.0.0.beta app/views/hubstats/partials/_deploy.html.erb
hubstats-0.12.2 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.12.1 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.12.0 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.11.5 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.11.4 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.11.1 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.11.0 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.10.0 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.9.5 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.9.4 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.9.3 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.9.2 app/views/hubstats/partials/_deploy.html.erb