Sha256: b9640b3a909f7bb24de4d0e2d562d208d9872a12cc5a12f3422615a5c357a5b4

Contents?: true

Size: 1.14 KB

Versions: 6

Compression:

Stored size: 1.14 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.merged == '1'%>
      <%= "merged #{time_ago_in_words(pull.created_at)} ago "%>
    <% elsif 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.3.1 app/views/hubstats/partials/_pull.html.erb
hubstats-0.3.0 app/views/hubstats/partials/_pull.html.erb
hubstats-0.2.3 app/views/hubstats/partials/_pull.html.erb
hubstats-0.2.2 app/views/hubstats/partials/_pull.html.erb
hubstats-0.2.1 app/views/hubstats/partials/_pull.html.erb
hubstats-0.2.0 app/views/hubstats/partials/_pull.html.erb