<%=tr("Author", "Forum column header")%> | <%=tr("Topic", "Forum column header")%> | <%=tr("Posts", "Forum column header")%> | <%=tr("Last Post", "Forum column header")%> | ||
|
<%=link_to(topic.topic, :controller => '/platform/apps', :action => :view, :sec => 'Discussions', :topic_id => topic.id, :id => @app.id)%> |
<%=topic.post_count %> |
<% if topic.last_post %>
<%=topic.last_post.created_at.trl(:date_time) %>
<% if topic.user %>
<%
message = topic.last_post.message[0..60]
message << "..." if topic.last_post.message.length > 60
%>
<%=tr("by {user}", "Name of the publisher", :user => [topic.user, platform_user_tag(topic.user, :linked => true)])%> <% end %> "<%=link_to(h(message), :controller => '/platform/apps', :action => :view, :id => @app.id, :sec => 'Discussions', :topic_id =>topic.id, :last_page => true)%>"
<% end %>
|