Sha256: 3e1b1696ef2b513ecab18d605ed637d9879f86c06df1e64adf649b56eb51201d
Contents?: true
Size: 737 Bytes
Versions: 12
Compression:
Stored size: 737 Bytes
Contents
= post.user.forum_display_name - if post.reply_to_id replied to = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name - else created = time_ago_in_words(post.created_at) ago = link_to 'Quote', new_topic_post_path(post.topic_id, :reply_to_id => post.id) - if mongoid_forums_user && post.owner_or_admin?(mongoid_forums_user) - if can?(:edit_post, post.topic.forum) = link_to "Edit", edit_topic_post_path(post.topic_id, post) - if can?(:destroy_post, post.topic.forum) = button_to "Delete", topic_post_path(post.topic_id, post), :method => :delete %br - if post.reply_to_id = render :partial => 'mongoid_forums/posts/quoted', :locals => {:post => post} %br = mongoid_forums_format(post.text) %br %hr
Version data entries
12 entries across 12 versions & 2 rubygems