dev_aliyun
daiao 5 years ago
parent 659f963519
commit e1ccd48d2f

@ -254,7 +254,7 @@ class Tiding < ActiveRecord::Base
elsif self.tiding_type == "Comment"
container.present? ? ("评论了你" + (container.parent.present? ? "的回复:" : "发布的项目issue") + message_content(container.notes)) : ""
else
"更新了Issue#{container.try(:issue).try(:subject)}"
container.present? ? "更新了Issue#{container.try(:issue).try(:subject)}" : ""
end
when 'Issue'
"指派了Issue给你" + container.subject

Loading…
Cancel
Save