Sha256: 95881ae0bf85cebf0966c0e8dbc229a828716b58766b3b4a9c76b0042c21ea0c

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

<div class="row single-deploy">

  <div class="user-image col-lg-1 col-md-1 col-sm-1" >
    <!-- <img src= <%= deploy.deployed_by %> alt= <%= deploy.deployed_by%> > -->
  </div>

  <!--Show the repo name, git revision, and who deployed it when-->
  <div class="deploy-info col-lg-6 col-md-7 col-sm-6">
    <h4> 
      <%= link_to deploy.repo.name, repo_path(deploy.repo.name) %> /
      <%= link_to deploy.git_revision, deploy_path(deploy) %>
    </h4>
    <br> <!--should route to the user/id path-->
    by <%= link_to deploy.deployed_by, user_path(deploy.deployed_by) %>
    <%= "#{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

3 entries across 3 versions & 1 rubygems

Version Path
hubstats-0.3.4 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.3.3 app/views/hubstats/partials/_deploy.html.erb
hubstats-0.3.2 app/views/hubstats/partials/_deploy.html.erb