Shows flag actions div only if user can hide
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user