Showing reason why a screenshot was reported

This commit is contained in:
Christoph Haas 2016-06-13 17:56:26 +02:00
parent 5bffa5dfbb
commit cecb5f47cc

View file

@ -83,7 +83,7 @@ class Screenshot < ActiveRecord::Base
# Short status text for admins # Short status text for admins
def adminstatus def adminstatus
if self.markedfordelete if self.markedfordelete
'Removal requested' "Removal requested > #{self.delete_reason}"
elsif self.approved elsif self.approved
'Public' 'Public'
else else