Activity stream is not showing the document name #1540

This commit is contained in:
Karel Pičman 2024-08-13 07:44:23 +02:00
parent 77f4c02aef
commit bae3185995

View File

@ -65,7 +65,7 @@ class DmsfFileRevision < ApplicationRecord
acts_as_event(
title: proc { |o|
if o.source_dmsf_file_revision_id.present?
l(:label_dmsf_updated)
"#{l(:label_dmsf_updated)}: #{o.dmsf_file.dmsf_path_str}"
else
"#{l(:label_created)}: #{o.dmsf_file.dmsf_path_str}"
end