Sha256: f759e4b2aebd20aab44873a14893a066af42806d5c79c4ca5341f5e961721630
Contents?: true
Size: 943 Bytes
Versions: 8
Compression:
Stored size: 943 Bytes
Contents
<%# @param post [Thredded::PostView] %> <%= content_tag :article, id: dom_id(post), class: 'thredded--post thredded--post-moderation' do %> <%= render 'thredded/posts_common/header_with_user_and_topic', post: post, post_user_link: if post.user link_to(post.user.thredded_display_name, user_moderation_path(post.user.id)) else content_tag :em, t('thredded.null_user_name') end %> <%= render 'thredded/posts_common/content', post: post %> <%= render 'thredded/posts_common/actions', post: post %> <% if post.blocked? %> <p class="thredded--alert thredded--alert-danger"> <%= render 'thredded/shared/content_moderation_blocked_state', moderation_record: post.last_moderation_record %> </p> <% end %> <%= render 'post_moderation_actions', post: post %> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems