<% content_for :left_sidebar do %> <% end %> <% @topics.each do |t| %> <% end %>
<%= t('.topics') %> <%= t('.replies') %> <%= t('.views') %> <%= t('.last_post') %>
<% if t.recent_activity?(authenticated_user) %> <%= image_tag('/simple_forum_engine/images/forumNewPosts.gif', :alt => t('simple_forum.new_posts_present'), :title => t('simple_forum.new_posts_present')) %> <% else %> <%= image_tag('/simple_forum_engine/images/forumNoNewPosts.gif', :alt => t('simple_forum.new_posts_absent'), :title => t('simple_forum.new_posts_absent')) %> <% end %> <%= link_to t.title, simple_forum.forum_topic_path(@forum, t) %> <% if t.paged? %>
    <% t.page_numbers.each do |p| %> <% if p %>
  • <%= link_to p, simple_forum.forum_topic_path(@forum, t, :page => p) %>
  • <% else %>
  • <% end %> <% end %>
<% end %>
<% if t.user %> <%= t("simple_forum.by") %> <%= t.user.name %> <% end %>
<%= number_with_delimiter t.posts.size %> <%= number_with_delimiter t.views_count %> <% if t.recent_post %> <%= content_tag :span, :title => l(t.recent_post.created_at) do %> <%= link_to "#{time_ago_in_words(t.recent_post.created_at)} #{t('simple_forum.ago', :default => 'ago')}", simple_forum.forum_topic_path(@forum, t, :page => t.last_page, :anchor => "post-#{t.recent_post.id}") %> <% end %>
<%= t('simple_forum.by', :default => 'by') %> <%= t.recent_post.user.name %> <% end %>
<%= will_paginate @topics if respond_to?(:will_paginate) %>