Shows flag actions div only if user can hide

This commit is contained in:
decabeza
2018-06-11 18:36:52 +02:00
parent abf0fe992e
commit 8900b1ffce

View File

@@ -1,3 +1,4 @@
<% if can? :hide, (notification || notification.author) %>
<div class="reply">
<span class='js-moderation-actions'>
<% if can? :hide, notification %>
@@ -12,3 +13,4 @@
<% end %>
</span>
</div>
<% end %>