mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 16:21:24 -05:00
11 lines
326 B
Text
11 lines
326 B
Text
|
<table class="topic-list">
|
||
|
<% @list.topics.each do |t| %>
|
||
|
<tr>
|
||
|
<td><a href="<%= t.relative_url %>"><%= t.title %></a> <span title='total posts'>[<%= t.posts_count %>]</span></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</table>
|
||
|
<% if @list.topics.length > 0 %>
|
||
|
<a href="<%= @list.more_topics_url.sub('.json?','?') %>">next page</a>
|
||
|
<% end %>
|