Sha256: e3e35a3b7ea32b8c4ca5d1335fd0416e4d37c95ee228d37b9b446a4fe8451a3d

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

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

  <!-- Show the repo name and the specific qa_signoff request name and who made it when -->
   <div class="qasignoff-info col-lg-9 col-md-9 col-sm-9 col-xs-8">
    <h4> 
      <%= link_to qa_signoff.repo.name, repo_path(qa_signoff.repo.name) %> /
      <%= link_to qa_signoff.pull_request.title, qa_signoff.pull_request.html_url, :target => '_blank' %>
    </h4>
    by <%= link_to qa_signoff.user.login, user_path(qa_signoff.user) %>
    <% if qa_signoff.pull_request.merged == '1'%>
      <%= "merged #{time_ago_in_words(qa_signoff.pull_request.merged_at)} ago "%>
    <% elsif qa_signoff.pull_request.state == 'closed' %>
      <%= "closed #{time_ago_in_words(qa_signoff.pull_request.closed_at)} ago "%>
    <% else %> 
      <%= "opened #{time_ago_in_words(qa_signoff.pull_request.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="qasignoff-right">
      <%= qa_signoff.pull_request.number %>
      <span class="octicon octicon-mark-github"></span>
      </span>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hubstats-0.10.0 app/views/hubstats/partials/_qa-signoffs-condensed.html.erb