Sha256: 407547cef9ccde018bcfff571e41bc241ef7b9fedde3e3ae4b136b73b997370c

Contents?: true

Size: 586 Bytes

Versions: 5

Compression:

Stored size: 586 Bytes

Contents

<% private_post, content = post_and_content if local_assigns.key?(:post_and_content) %>
<%= render 'thredded/posts_common/before_first_unread_post', post: private_post if private_post.first_unread_in_page? %>
<%= content_tag :article, id: dom_id(private_post), class: "thredded--post thredded--#{private_post.read_state}--post" do %>
  <%= render 'thredded/posts_common/actions', post: private_post, actions: local_assigns[:actions] %>
  <%= render 'thredded/posts_common/header', post: private_post %>
  <%= content || render('thredded/private_posts/content', post: post) %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thredded-0.15.5 app/views/thredded/private_posts/_private_post.html.erb
thredded-0.15.4 app/views/thredded/private_posts/_private_post.html.erb
thredded-0.15.3 app/views/thredded/private_posts/_private_post.html.erb
thredded-0.15.2 app/views/thredded/private_posts/_private_post.html.erb
thredded-0.15.1 app/views/thredded/private_posts/_private_post.html.erb