Sha256: 14a4280ecf28ef9104e24fc74be8c0a776f650f63b306f041248acd568d69217
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
<div class="entry"> <% unless @groupings.empty? -%> <% max_counter = @groupings[0].article_counter -%> <%= ul_tag_for @grouping_class %> <% for grp in @groupings.sort_by{|grp|grp.display_name} -%> <li class="<%= calc_distributed_class(grp.article_counter, max_counter, @grouping_class, 0, 10) %>"> <%= link_to_grouping(grp) %> </li> <% end -%> </ul> <% else -%> <p><%= _("There are")%> <%= @grouping_class.to_s.underscore.pluralize %>.</p> <% end -%> </div>
Version data entries
5 entries across 5 versions & 1 rubygems