Merge pull request #4592 from nonamethanks/show_appeals
Users: show appeal link and count to everyone
This commit is contained in:
@@ -174,12 +174,12 @@
|
|||||||
<td><%= presenter.comment_count(self) %> in <%= presenter.commented_posts_count(self) %> posts</td>
|
<td><%= presenter.comment_count(self) %> in <%= presenter.commented_posts_count(self) %> posts</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<% if CurrentUser.user.id == user.id || CurrentUser.is_moderator? %>
|
<tr>
|
||||||
<tr>
|
<th>Appeals</th>
|
||||||
<th>Appeals</th>
|
<td><%= presenter.appeal_count(self) %></td>
|
||||||
<td><%= presenter.appeal_count(self) %></td>
|
</tr>
|
||||||
</tr>
|
|
||||||
|
|
||||||
|
<% if CurrentUser.user.id == user.id || CurrentUser.is_moderator? %>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Flags</th>
|
<th>Flags</th>
|
||||||
<td><%= presenter.flag_count(self) %></td>
|
<td><%= presenter.flag_count(self) %></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user