fixes #1930
This commit is contained in:
@@ -92,6 +92,20 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Appeals</th>
|
||||
<td><%= presenter.appeal_count(self) %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<% if CurrentUser.user.id == user.id || CurrentUser.user.is_janitor? %>
|
||||
<tr>
|
||||
<th>Flags</th>
|
||||
<td><%= presenter.flag_count(self) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
<tr>
|
||||
<th>Feedback</th>
|
||||
<td><%= presenter.feedbacks(self) %></td> </tbody>
|
||||
|
||||
Reference in New Issue
Block a user