Sha256: f6d33c84b24e0dd4b0666aeba9bc0fb688d841b80358982421268a7144e7aa4f

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

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 %> 
      <a class="subtle" href=<%= pull.html_url %> > 
        <span class="octicon octicon-mark-github"></span>
      </a>
      </span>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hubstats-0.1.3 app/views/hubstats/partials/_pull.html.erb
hubstats-0.1.2 app/views/hubstats/partials/_pull.html.erb
hubstats-0.1.1 app/views/hubstats/partials/_pull.html.erb
hubstats-0.1.0 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.23 app/views/hubstats/partials/_pull.html.erb
hubstats-0.0.22 app/views/hubstats/partials/_pull.html.erb