%= tr8n_with_options_tag(:default_locale => 'en-US', :admin => true) do %> <%= render :partial => "/tr8n/common/header" %> <% unless @topics.empty? %>
<%=tra("Author", "Forum column header")%> | <%=tra("Topic", "Forum column header")%> | <%=tra("Posts", "Forum column header")%> | <%=tra("Last Post", "Forum column header")%> | ||
|
<%=link_to(topic.topic, :action => :topic, :topic_id => topic.id)%> |
<%=topic.post_count %> |
<% if topic.last_post %>
<%=topic.last_post.created_at.trl(:date_time) %>
<% if topic.translator and topic.translator.user %>
<%=tra("by {user}", "Name of the publisher", :user => [topic.translator.user, tr8n_user_tag(topic.translator, :linked => true)])%>
<% end %>
<%
message = topic.last_post.message[0..60]
message << "..." if topic.last_post.message.length > 60
%>
"<%=link_to(h(message), :action => :topic, :topic_id =>topic.id, :last_page => true)%>"
<% end %>
|