<%= t 'js.discourse_ai.related_topics.title' %>

<% @list.each_with_index do |topic, idx| %> <% end %>
<%= t 'js.topic.title' %> <%= t 'js.replies' %> <%= t 'js.views' %> <%= t 'js.activity' %>
<%= topic.title %>
<% if (!@category || @category.has_children?) && topic.category && !topic.category.uncategorized? %> <%= topic.category.name %> <% end %> <% if tags = topic.visible_tags(guardian) %>
<% tags.each_with_index do |tag, index| %> <%= tag.name %> <% if index < tags.size - 1 %>, <% end %> <% end %>
<% end %>
'><%= topic.posts_count - 1 %> '><%= topic.views %> <%= I18n.l(topic.last_posted_at || topic.created_at, format: :date_only) %>