partial fix for #262
This commit is contained in:
@@ -1,12 +1,13 @@
|
|||||||
<div id="c-post-appeals">
|
<div id="c-post-appeals">
|
||||||
<div id="a-index">
|
<div id="a-index">
|
||||||
<h1>Appeals</h1>
|
<h1>Appeals</h1>
|
||||||
<table width="100%">
|
<table width="100%" class="striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Post</th>
|
<th width="1%">Post</th>
|
||||||
<th>Creator</th>
|
<th width="10%">Creator</th>
|
||||||
<th>Reason</th>
|
<th>Reason</th>
|
||||||
|
<th width="15%">Date</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -15,6 +16,7 @@
|
|||||||
<td><%= PostPresenter.preview(post_appeal.post, :tags => "status:any") %></td>
|
<td><%= PostPresenter.preview(post_appeal.post, :tags => "status:any") %></td>
|
||||||
<td><%= link_to_user post_appeal.creator %></td>
|
<td><%= link_to_user post_appeal.creator %></td>
|
||||||
<td><%= format_text post_appeal.reason %></td>
|
<td><%= format_text post_appeal.reason %></td>
|
||||||
|
<td><%= compact_time post_appeal.updated_at %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -6,9 +6,10 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th width="1%"></th>
|
<th width="1%"></th>
|
||||||
<% if CurrentUser.user.is_janitor? %>
|
<% if CurrentUser.user.is_janitor? %>
|
||||||
<th>Creator</th>
|
<th width="10%">Creator</th>
|
||||||
<% end %>
|
<% end %>
|
||||||
<th>Reason</th>
|
<th>Reason</th>
|
||||||
|
<th width="15%">Date</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
<td><%= format_text post_flag.reason %></td>
|
<td><%= format_text post_flag.reason %></td>
|
||||||
|
<td><%= compact_time post_flag.updated_at %></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -28,6 +28,8 @@
|
|||||||
<li><%= fast_link_to "Tags", post_versions_path(:search => {:post_id => @post.id}) %></li>
|
<li><%= fast_link_to "Tags", post_versions_path(:search => {:post_id => @post.id}) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<li><%= fast_link_to "Notes", note_versions_path(:search => {:post_id => @post.id}) %></li>
|
<li><%= fast_link_to "Notes", note_versions_path(:search => {:post_id => @post.id}) %></li>
|
||||||
|
<li><%= fast_link_to "Flags", post_flags_path(:search => {:post_id => @post.id}) %></li>
|
||||||
|
<li><%= fast_link_to "Appeals", post_appeals_path(:search => {:post_id => @post.id}) %></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user