flags/appeals: replace is_resolved flag with statuses.
Replace references to the `is_resolved` field with the `status` field. Post flags were marked as resolved when a post was approved (but not when the post was deleted because it went unapproved). The status field supercedes the resolved field.
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
<% t.column "Category", width: "1%" do |post_flag| %>
|
||||
<%= link_to post_flag.category.to_s, post_flags_path(search: params[:search].merge(category: post_flag.category)) %>
|
||||
<% end %>
|
||||
<% t.column "Resolved?", width: "1%" do |post_flag| %>
|
||||
<%= link_to post_flag.is_resolved?.to_s, post_flags_path(search: params[:search].merge(is_resolved: post_flag.is_resolved?)) %>
|
||||
<% t.column "Status", width: "5%" do |post_flag| %>
|
||||
<%= link_to post_flag.status, post_flags_path(search: { status: post_flag.status }) %>
|
||||
<% end %>
|
||||
<% t.column "Uploaded", width: "15%" do |post_flag| %>
|
||||
<%= compact_time post_flag.post.created_at %>
|
||||
|
||||
Reference in New Issue
Block a user