* Removed unapprovals, added post flags and post appeals (still need to update tests)

* Restyled text
This commit is contained in:
albert
2011-03-28 18:48:02 -04:00
parent 42627be1d3
commit f9c961cdc6
66 changed files with 642 additions and 403 deletions

View File

@@ -0,0 +1,9 @@
var errors = <%= @unapproval.errors.full_messages.to_json.html_safe %>;
if (errors.length > 0) {
Danbooru.j_error(errors.join("; "));
} else {
Danbooru.j_alert("Flag", "Post flagged");
$("a#approve").show();
$("a#disapprove").show();
$("a#flag").hide();
}

View File

@@ -0,0 +1,25 @@
<p>If you believe a post does not belong on this site, you can flag for its deletion. As a reminder, the following are some common reasons for flagging a post:</p>
<ul>
<li>Not anime-related</li>
<li>Furry: a character has body fur or an animal face</li>
<li>Watermark: text or logo inserted by someone besides the original artist</li>
<li>Poor compression: JPEG artifacts</li>
<li>Guro: mutilation, extreme bodily distension</li>
<li>Bad proportions: extremely large breasts or penises</li>
<li>Manga: Multiple pages of a manga, doujinshi, or comic that don't stand up to individual scrutiny</li>
<li>Fake translations: Made up translations are banned</li>
</ul>
<p>The following are <strong>NOT</strong> valid reasons for flagging a post:</p>
<ul>
<li>Duplicate: just parent to the original</li>
</ul>
<p>Enter a reason:</p>
<%= simple_form_for(@post_flag, :remote => true, :format => :js) do |f| %>
<%= hidden_field_tag "post_flag[post_id]", @post_flag.post_id %>
<%= f.text_field :reason %>
<% end %>