UX: Add label for delete own post button in review queue (#28991)
This commit is contained in:
parent
4cc2cd4de4
commit
cd220299cf
|
@ -73,7 +73,9 @@ class ReviewableQueuedPost < Reviewable
|
|||
end
|
||||
end
|
||||
|
||||
actions.add(:delete) if guardian.can_delete?(self)
|
||||
actions.add(:delete) do |a|
|
||||
a.label = "reviewables.actions.delete_single.title"
|
||||
end if guardian.can_delete?(self)
|
||||
end
|
||||
|
||||
def build_editable_fields(fields, guardian, args)
|
||||
|
|
Loading…
Reference in New Issue