Sha256: 51fb65efbdab0ee0c1626b4d3e659c14c3d338b1a513c316e24821b30b13b3e5
Contents?: true
Size: 984 Bytes
Versions: 16
Compression:
Stored size: 984 Bytes
Contents
<% content_for :sidebar do %> <div id="forum_sidebar_categories"> <ul> <% ForumCategory.ordered.each do |forum_category| %> <% if forum_category.any_readable_forums?(current_user) %> <li> <span class="category_name"><%= forum_category.name.to_s_default %></span> <% unless forum_category.forums.empty? %> <ul> <% forum_category.forums.each do |forum| %> <% if can?(:read, forum) %> <li> <%= link_to forum_show_path(forum) do %> <%= truncate(forum.name, :length => 30) %> <span class="num_of_comments"><%= number_with_delimiter(forum.comments_count) %></span> <% end %> </li> <% end %> <% end %> </ul> <% end %> </li> <% end %> <% end %> </ul> </div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems