fix for followers pluralization

This commit is contained in:
Kyle Drake 2015-01-17 02:07:11 -08:00
parent bd43c38753
commit 4271a5e223

View file

@ -24,7 +24,7 @@
<div class="stats"> <div class="stats">
<div class="stat"><strong><%= site.views.format_large_number %></strong> <span>views</span></div> <div class="stat"><strong><%= site.views.format_large_number %></strong> <span>views</span></div>
<% follows_count = site.follows_dataset.count %> <% follows_count = site.follows_dataset.count %>
<div class="stat"><strong><%= follows_count.format_large_number %></strong> <span>follower<% follows_count == 0 ? '' : 's' %></span></div> <div class="stat"><strong><%= follows_count.format_large_number %></strong> <span>follower<%= follows_count == 0 ? '' : 's' %></span></div>
<!-- <div class="stat tips"><strong><%= site.tips_dataset.count %></strong> <span>tips</span></div> --> <!-- <div class="stat tips"><strong><%= site.tips_dataset.count %></strong> <span>tips</span></div> -->
</div> </div>
<div class="actions"> <div class="actions">