clarify write-only notice

This commit is contained in:
jomo
2016-06-12 00:54:28 +02:00
parent 44839b08ae
commit c8e964c23f

View File

@@ -6,7 +6,13 @@
<% end %>
<% if @forum.role_read && @forum.role_write && @forum.role_write < @forum.role_read %>
<div class="lockednote">This forum is write-only. You can only see your own posts.</div>
<div class="lockednote">
<% if @forum.role_read > current_user.role %>
This forum is write-only. You can only see your own posts.
<% else %>
This forum is write-only for users ranked under <%= @forum.role_read %>. They can only see their own posts.
<% end %>
</div>
<% end %>
<div id="forum_groups">