Sha256: b80bc0e16ddd690a1472a9bf1b6fc9a4bb2a0a7cfcbed44f9e03cce0701cba00

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

<!-- All of the options for showing any stats that have to do with additions -->
<div class="col-lg-<%= (12-(@stats_additions.length)*2)/2 %>"></div>

<% if @stats_additions.has_key? :net_additions %>
  <div class="col col-lg-2 col-md-4 col-sm-4 col-xs-4 text-center">
    <h1> <%= @stats_additions[:net_additions] %> </h1>
    <h4> Net Additions </h4>
  </div>
<% end %>
<% if @stats_additions.has_key? :avg_additions %>
  <div class="col col-lg-2 col-md-4 col-sm-4 col-xs-4 text-center">
    <h1> <%= @stats_additions[:avg_additions] %> </h1>
    <h4> Average Additions per Pull Request </h4>
  </div>
<% end %>
<% if @stats_additions.has_key? :avg_deletions%>
  <div class="col col-lg-2 col-md-4 col-sm-4 col-xs-4 text-center">
    <h1><%= @stats_additions[:avg_deletions] %> </h1>
    <h4> Average Deletions per Pull Request </h4>
  </div>
<% end %>
<% if @stats_additions.has_key? :additions %>
  <div class="col col-lg-2 col-md-4 col-sm-4 col-xs-4 text-center">
    <h1> <%= @stats_additions[:additions] %> </h1>
    <h4> Additions </h4>
  </div>
<% end %>
<% if @stats_additions.has_key? :deletions%>
  <div class="col col-lg-2 col-md-4 col-sm-4 col-xs-4 text-center">
    <h1><%= @stats_additions[:deletions] %> </h1>
    <h4> Deletions </h4>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hubstats-0.5.4 app/views/hubstats/partials/_quick_addition_stats.html.erb
hubstats-0.5.3 app/views/hubstats/partials/_quick_addition_stats.html.erb
hubstats-0.5.2 app/views/hubstats/partials/_quick_addition_stats.html.erb