link to upload advice thread for deleted posts
This commit is contained in:
@@ -1733,7 +1733,6 @@ class Post < ActiveRecord::Base
|
|||||||
|
|
||||||
BOOLEAN_ATTRIBUTES = %w(
|
BOOLEAN_ATTRIBUTES = %w(
|
||||||
has_embedded_notes
|
has_embedded_notes
|
||||||
cdn_hosted
|
|
||||||
)
|
)
|
||||||
has_bit_flags BOOLEAN_ATTRIBUTES
|
has_bit_flags BOOLEAN_ATTRIBUTES
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,10 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render "post_disapprovals/counts", :disapprovals => post.disapprovals, :post => post %>
|
<%= 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>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ module Danbooru
|
|||||||
User.find_by_name("DanbooruBot") || User.admins.first
|
User.find_by_name("DanbooruBot") || User.admins.first
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def upload_feedback_topic
|
||||||
|
ForumTopic.where(title: "Upload Feedback Thread").first
|
||||||
|
end
|
||||||
|
|
||||||
def upgrade_account_email
|
def upgrade_account_email
|
||||||
contact_email
|
contact_email
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user