link to upload advice thread for deleted posts
This commit is contained in:
@@ -1733,7 +1733,6 @@ class Post < ActiveRecord::Base
|
||||
|
||||
BOOLEAN_ATTRIBUTES = %w(
|
||||
has_embedded_notes
|
||||
cdn_hosted
|
||||
)
|
||||
has_bit_flags BOOLEAN_ATTRIBUTES
|
||||
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
<% end %>
|
||||
|
||||
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals, :post => post %>
|
||||
|
||||
<% if CurrentUser.id == post.uploader_id %>
|
||||
<p>If you don't understand why your uploads keep getting deleted, you should ask on the <%= link_to "forum", forum_topic_path(Danbooru.config.upload_feedback_topic) %> for advice.</p>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@ module Danbooru
|
||||
User.find_by_name("DanbooruBot") || User.admins.first
|
||||
end
|
||||
|
||||
def upload_feedback_topic
|
||||
ForumTopic.where(title: "Upload Feedback Thread").first
|
||||
end
|
||||
|
||||
def upgrade_account_email
|
||||
contact_email
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user