Sha256: 4b8f825f1ed31e71f95570d2dfd992338723132e29921a2eb2a45396ac6f6bc5

Contents?: true

Size: 1.18 KB

Versions: 22

Compression:

Stored size: 1.18 KB

Contents

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

  <!-- Show the repo name and the specific pull request name and who made it when -->
  <div class="pull-info col-lg-9 col-md-9 col-sm-9 col-xs-8">
    <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>
    by <%= link_to pull.user.login, user_path(pull.user) %>
    <% if pull.merged == '1'%>
      <%= "merged #{time_ago_in_words(pull.merged_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>

  <!-- Show the pull request number and a link to the github PR -->
  <div class="col-lg-2 col-md-2 col-sm-2 col-xs-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

22 entries across 22 versions & 1 rubygems

Version Path
hubstats-0.7.5 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.7.4 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.7.3 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.7.2 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.7.1 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.7.0 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.6.0 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.12 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.11 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.10 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.9 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.7 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.6 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.5 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.4 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.3 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.2 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.1 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.5.0 app/views/hubstats/partials/_pull-condensed.html.erb
hubstats-0.4.4 app/views/hubstats/partials/_pull-condensed.html.erb