<% if topics.any? %>
<%= render 'shared/wide_order_selector', i18n_namespace: "comments" %>
<% topics.each do |topic| %>

<%= link_to topic.title, community_topic_path(@community, topic) %>

  <%= link_to t("community.show.topic.comments", count: topic.comments_count), community_topic_path(@community, topic, anchor: "comments") %>  •  <%= I18n.l topic.created_at.to_date %>  •  <%= topic.author.name %>

<% if topic.author == current_user %> <%= link_to t("community.show.topic.edit_button"), edit_community_topic_path(@community.id, topic), class: 'button small hollow' %> <% end %>
<% end %> <% else %>

<%= t("community.show.create_first_community_topic") %>

<% end %>