mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 11:59:17 -05:00
10 lines
326 B
Text
10 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 %>
|