Sha256: 592253626e548c5b57db48fcfc732a9de23fc739cb486d55ab7a187c9d0b214e

Contents?: true

Size: 935 Bytes

Versions: 8

Compression:

Stored size: 935 Bytes

Contents

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

  <div class="pull-info col-lg-9 col-md-9 col-sm-9">
    <h4> 
      <%= link_to pull.repo.name, repo_path(pull.repo.name) %> / 
      <%= link_to pull.title, repo_pull_path({:repo => pull.repo.name, :id => pull.id}) %> 
    </h4>
    <% pull.labels.each do |label| %>
      <span class="color-label badge" title=<%=label.color%> ><%= label.name %></span>
    <% end %>
    <br>
    by <%= link_to pull.user.login, user_path(pull.user) %>
    <% if pull.state == 'closed' %>
      <%= "closed #{time_ago_in_words(pull.closed_at)} ago "%>
    <% else %>
      <%= "opened #{time_ago_in_words(pull.created_at)} ago "%>
    <% end %> 
  </div>

  <div class="col-lg-2 col-md-2 col-sm-2" >
    <div class="pull-right">
      # <%= pull.number %>
    </div>
  </div>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hubstats-0.0.21 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.20 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.19 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.18 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.17 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.16 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.15 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.14 app/views/hubstats/partials/_pull.html.erb