Sha256: b66f655112e1efe3e6aa64fe401aa9568bae1a06eb0291f08eca86d141d8c2b2
Contents?: true
Size: 830 Bytes
Versions: 3
Compression:
Stored size: 830 Bytes
Contents
<% actions = capture do %> <%= view_hooks.post_common.actions.render self, post: post do %> <% if post.can_update? %> <%= render 'thredded/posts_common/actions/edit', post: post %> <% end %> <% if post.can_destroy? %> <%= render 'thredded/posts_common/actions/delete', post: post %> <% end %> <% if post.read_state %> <%= view_hooks.post_common.mark_as_unread.render self, post: post do %> <%= render 'thredded/posts_common/actions/mark_as_unread', post: post %> <% end %> <% end %> <% end %> <% end %> <%- if actions.present? %> <div class='thredded--post--dropdown'> <%= inline_svg 'thredded/three-dot-menu.svg', class: 'thredded--post--dropdown--toggle' %> <div class='thredded--post--dropdown--actions'> <%= actions %> </div> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems