<% topic_url = @topic_view.absolute_url %> <% lang = SiteSetting.find_by_name('default_locale').try(:value) %> <% site_email = SiteSetting.find_by_name('contact_email').try(:value) %> <%= @topic_view.title %> <%= topic_url %> <%= @topic_view.posts.first.raw %> <%= "#{lang}" if lang %> <%= @topic_view.topic.bumped_at.rfc2822 %> <%= @topic_view.topic.category.name %> <% @topic_view.recent_posts.each do |post| %> <% next unless post.user %> <%= @topic_view.title %> <%= "no-reply@example.com (@#{post.user.username}#{" #{post.user.name}" if (post.user.name.present? && SiteSetting.enable_names?)})" -%>

<%= t('author_wrote', author: link_to("@#{post.user.username}", user_url(post.user.username_lower))).html_safe %>

<% if post.hidden %> <%= t('flagging.user_must_edit').html_safe %> <% else %> <%= post.cooked.html_safe %> <% end %>

<%= link_to t('read_full_topic'), post_url %>

]]>
<%= post_url %> <%= post.created_at.rfc2822 %> post-<%= post.topic_id %>-<%= post.post_number %> <%= @topic_view.title %>
<% end %>