This commit is contained in:
r888888888
2015-06-25 13:51:05 -07:00
parent 3cc7dbbedc
commit 1d9596d7f2
64 changed files with 244 additions and 140 deletions

View File

@@ -19,7 +19,7 @@
</td>
</tr>
<% if CurrentUser.user.is_janitor? %>
<% if CurrentUser.user.is_moderator? %>
<tr>
<th><label for="search_creator_name">Creator</th>
<td>

View File

@@ -7,7 +7,7 @@
<thead>
<tr>
<th width="1%"></th>
<% if CurrentUser.user.is_janitor? %>
<% if CurrentUser.user.is_moderator? %>
<th width="10%">Creator</th>
<% end %>
<th>Reason</th>
@@ -18,7 +18,7 @@
<% @post_flags.each do |post_flag| %>
<tr class="resolved-<%= post_flag.is_resolved? %>">
<td><%= PostPresenter.preview(post_flag.post, :tags => "status:any") %></td>
<% if CurrentUser.user.is_janitor? %>
<% if CurrentUser.user.is_moderator? %>
<td>
<%= link_to_user post_flag.creator %>
</td>