mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
12 lines
424 B
Text
12 lines
424 B
Text
|
<% @list.categories.each do |c| %>
|
||
|
<div class="category">
|
||
|
<h2><a href="/category/<%= c.slug.blank? ? c.id : c.slug %>"><%= c.name %></a></h2>
|
||
|
<div class="topic-list">
|
||
|
<% c.topics.limit(6).each do |t| %>
|
||
|
<a href="<%= t.relative_url %>"><%= t.title %></a> <span title='<%= t 'posts' %>'>(<%= t.posts_count %>)</span><br/>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
|
||
|
<p><%= t 'powered_by_html' %></p>
|