fixes #2417
This commit is contained in:
@@ -94,14 +94,14 @@
|
||||
<td><%= presenter.comment_count(self) %> in <%= presenter.commented_posts_count(self) %> posts</td>
|
||||
</tr>
|
||||
|
||||
<% if CurrentUser.user.id == user.id || CurrentUser.user.is_janitor? %>
|
||||
<% if CurrentUser.user.id == user.id || CurrentUser.is_moderator? %>
|
||||
<tr>
|
||||
<th>Appeals</th>
|
||||
<td><%= presenter.appeal_count(self) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
<% if CurrentUser.user.id == user.id || CurrentUser.user.is_janitor? %>
|
||||
<% if CurrentUser.user.id == user.id || CurrentUser.is_moderator? %>
|
||||
<tr>
|
||||
<th>Flags</th>
|
||||
<td><%= presenter.flag_count(self) %></td>
|
||||
@@ -126,7 +126,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<% if CurrentUser.user.is_janitor? && presenter.previous_names.present? %>
|
||||
<% if CurrentUser.is_moderator? && presenter.previous_names.present? %>
|
||||
<tr>
|
||||
<th>Previous Names</th>
|
||||
<td><%= presenter.previous_names %></td>
|
||||
|
||||
Reference in New Issue
Block a user