Don't show invitees to anyone other than content owner

This commit is contained in:
Andrew Brown 2017-10-01 22:58:16 +02:00
parent 37d94ba461
commit 5aa61e1c76

View File

@ -2,6 +2,7 @@
<ul class="collection">
<% content.contributors.each do |contributor| %>
<% next if contributor.user.nil? && (current_user != content.user) %>
<li class="collection-item avatar">
<i class="material-icons circle white-text">person</i>
<span class="title">