Sha256: 01012ca9a5429af90ab883c15ab18d9f39fe7ec85d4ad9c266d102be24f58d3d
Contents?: true
Size: 968 Bytes
Versions: 24
Compression:
Stored size: 968 Bytes
Contents
<% post, content = post_and_content if local_assigns.key?(:post_and_content) %> <%= render 'thredded/posts_common/before_first_unread_post', post: post if post.first_unread_in_page? %> <%= content_tag :article, id: dom_id(post), class: "thredded--post thredded--#{post.read_state}--post" do %> <%= render 'thredded/posts_common/actions', post: post, actions: local_assigns[:actions] %> <%= render 'thredded/posts_common/header', post: post %> <%= content || render('thredded/posts/content', post: post) %> <% if post.pending_moderation? && !Thredded.content_visible_while_pending_moderation %> <p class="thredded--alert thredded--alert-warning"><%= t 'thredded.posts.pending_moderation_notice' %></p> <% elsif post.blocked? && post.can_moderate? %> <p class="thredded--alert thredded--alert-danger"> <%= render 'thredded/shared/content_moderation_blocked_state', moderation_record: post.last_moderation_record %> </p> <% end %> <% end %>
Version data entries
24 entries across 24 versions & 1 rubygems