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