1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-10 19:23:06 +00:00

Merged r21905 from trunk to 5.0-stable (#37772).

git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21908 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-10-20 04:32:06 +00:00
parent 83b6af8c77
commit c02e3bfaec

View File

@ -143,6 +143,10 @@ class Journal < ActiveRecord::Base
details.select{ |d| d.property == 'attachment' }.map{ |d| Attachment.find_by(:id => d.prop_key) }.compact
end
def visible?(*args)
journalized.visible?(*args)
end
# Returns a string of css classes
def css_classes
s = +'journal'