mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Initial release of Discourse
This commit is contained in:
10
app/views/list/list.erb
Normal file
10
app/views/list/list.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<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 %>
|
||||
Reference in New Issue
Block a user