Merge pull request #3658 from evazion/fix-3657

Fix #3657: Add improvements to the uploads interface
This commit is contained in:
Albert Yi
2018-04-20 16:03:39 -07:00
committed by GitHub
13 changed files with 198 additions and 43 deletions

View File

@@ -3,7 +3,7 @@ class PostPresenter < Presenter
def self.preview(post, options = {})
if post.nil?
return "Expunged"
return "<em>none</em>".html_safe
end
if !options[:show_deleted] && post.is_deleted? && options[:tags] !~ /status:(?:all|any|deleted|banned)/ && !options[:raw]