Fix #2792: pull appeal text from wiki page.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<p>If this post was automatically deleted, <strong>then it means at least ten janitors all thought it didn't belong on the site</strong>. If you still believe this image was wrongfully deleted, then you can appeal its deletion.</p>
|
||||
|
||||
<p>All users are limited to one appeal a day. For more details, please read the <%= link_to "wiki", wiki_pages_path(:title => "help:deletion_appeals") %>.</p>
|
||||
<%= format_text(WikiPage.titled(Danbooru.config.appeal_notice_wiki_page).first.try(&:body)) %>
|
||||
|
||||
<%= form_tag(post_appeals_path(:format => :js), :remote => true) do %>
|
||||
<%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %>
|
||||
|
||||
@@ -249,6 +249,10 @@ module Danbooru
|
||||
"help:flag_notice"
|
||||
end
|
||||
|
||||
def appeal_notice_wiki_page
|
||||
"help:appeal_notice"
|
||||
end
|
||||
|
||||
# The number of posts displayed per page.
|
||||
def posts_per_page
|
||||
20
|
||||
|
||||
Reference in New Issue
Block a user