Sha256: 48fc7a2a5d77f88426655c9c43beb9db746eb7e42fdd223e86824e222f97c5be
Contents?: true
Size: 485 Bytes
Versions: 6
Compression:
Stored size: 485 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_permalink(grp, grp.display_name) %> </li> <% end -%> </ul> <% else -%> <p><%= _("There are")%> <%= @grouping_class.to_s.underscore.pluralize %>.</p> <% end -%> </div>
Version data entries
6 entries across 6 versions & 1 rubygems