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>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<th>Name</th>
|
||||
<th>Posts</th>
|
||||
<th>Deleted</th>
|
||||
<% if CurrentUser.user.is_janitor? %>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<th><abbr title="3+ Score Binomial Confidence Interval">5+ SBCI</abbr></th>
|
||||
<th><abbr title="6+ Score Binomial Confidence Interval">10+ SBCI</abbr></th>
|
||||
<% end %>
|
||||
@@ -40,7 +40,7 @@
|
||||
</td>
|
||||
<td><%= link_to user.posts.count, posts_path(:tags => "user:#{user.name}") %></td>
|
||||
<td><%= user.posts.deleted.count %></td>
|
||||
<% if CurrentUser.user.is_janitor? %>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<td><%= number_to_percentage Reports::UserPromotions.confidence_interval_for(user, 3), :precision => 0 %></td>
|
||||
<td><%= number_to_percentage Reports::UserPromotions.confidence_interval_for(user, 6), :precision => 0 %></td>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user