2019-08-16 01:41:06 +08:00
|
|
|
<%- if @list && @list.topics.present? %>
|
2019-08-30 00:52:38 +08:00
|
|
|
<div class='topics-list' data-embed-state='loaded' <%- if @embed_id %>data-embed-id="<%= @embed_id %>"<%- end %>>
|
2019-08-16 01:41:06 +08:00
|
|
|
<%- @list.topics.each do |t| %>
|
2019-08-30 00:52:38 +08:00
|
|
|
<div class='topic-list-item'>
|
|
|
|
<div class='main-link'>
|
2019-08-16 01:41:06 +08:00
|
|
|
<a target="_parent" href="<%= t.url %>" class="title raw-link raw-topic-link" data-topic-id="<%= t.id %>"><%= t.title %></a>
|
2019-08-30 00:52:38 +08:00
|
|
|
</div>
|
2019-08-16 01:41:06 +08:00
|
|
|
</div>
|
|
|
|
<%- end %>
|
2019-08-30 00:52:38 +08:00
|
|
|
</div>
|
2019-08-16 01:41:06 +08:00
|
|
|
<%- end %>
|