% @page_title = "Posts that #{h @user.display_name} is monitoring" -%>
<%= feed_icon_tag @page_title, monitored_all_sb_posts_path(:user_id => @user, :format => 'rss') %> <%= :post_found.l(:count => @posts.size) %>
<% if @posts.total_count > 1 -%>
<% if post.created_at > Time.now.utc-24.hours%>
<%= time_ago_in_words(post.created_at).sub(/about /, '') %> ago
<% else %>
<%= post.created_at.strftime("%b %e, %Y")%>
<% end %>
<%= avatar_for post.user %>
<%= link_to truncate(h(post.user.display_name), :length => 15), user_path(post.user), :class => (post.user == @posts.to_a.first.user ? "admin" : nil) %>
<%= pluralize post.user.sb_posts_count, 'post' %>
|
<%= :topic.l %> <%= link_to h(post.topic_title), forum_topic_path(post.forum_id, post.topic_id) %> <%= post.body_html %> |