Update flag/appeal searches and profile

This commit is contained in:
Toks
2013-08-21 13:36:20 -04:00
parent 6b18c46c03
commit adc3efb539
2 changed files with 9 additions and 9 deletions

View File

@@ -92,17 +92,17 @@
</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>Appeals</th>
<td><%= presenter.appeal_count(self) %></td>
</tr>
<% end %>
<% if CurrentUser.user.id == user.id || CurrentUser.user.is_janitor? %>
<tr>
<th>Flags</th>
<td><%= presenter.flag_count(self) %>
</td>
<td><%= presenter.flag_count(self) %></td>
</tr>
<% end %>