Sha256: 9d4a58a763540fceb6621a9a541f742a3050ccecb0fd6cb0512c2bd13134aeb7

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

<div class="container" id="user">
  <div class="row">

    <!-- Title with the user's GitHub username -->
    <h1 class="title text-center"><a href=<%=@user.html_url%>> <%= @user.login %></a> </h1>

    <!-- Show what team(s) the user is on -->
    <h4 class="text-center">
      <% if @user.team %>
        Assigned Team: <%= @user.team.name %>
      <% else %>
        No Assigned Team
      <% end %>
    </h4>

    <!-- Show all of the stats about the user -->
    <%= render 'hubstats/partials/quick_stats_one' %>
  </div>

  <div class="row">

    <!-- Show all of this user's merged pull requests in a "condensed" view -->
    <div class="col-lg-6 col-md-5 col-sm-5 col-xs-5">
      <h3> Merged Pull Requests</h3> 
      <%= render 'hubstats/tables/pulls-condensed' %>
      <% if @pull_count > 20 %>
        <p class="pull-right"><%= link_to "View All", pulls_path(:users => @user.id) %></p>
      <% end %>
    </div>

    <!-- Show all of this user's deploys in a "condensed" view -->
    <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
      <h3> Deployments </h3>
      <%= render 'hubstats/tables/deploys-condensed' %>
      <% if @deploy_count > 20 %>
        <p class="pull-right"><%= link_to "View All", deploys_path(:users => @user.id) %></p>
      <% end %>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hubstats-0.6.0 app/views/hubstats/users/show.html.erb