mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
Merge branch 'develop' into standalone_develop
This commit is contained in:
@@ -121,6 +121,10 @@ class Journal < ApplicationRecord
|
|||||||
old_value = detail.old_value
|
old_value = detail.old_value
|
||||||
new_value = detail.value
|
new_value = detail.value
|
||||||
content += "结束日期"
|
content += "结束日期"
|
||||||
|
when 'assigned_to_id'
|
||||||
|
old_value = User.find_by_id(detail.old_value)&.nickname
|
||||||
|
new_value = User.find_by_id(detail.value)&.nickname
|
||||||
|
content += "负责人"
|
||||||
end
|
end
|
||||||
if old_value.nil? || old_value.blank?
|
if old_value.nil? || old_value.blank?
|
||||||
content += "设置为<b>#{new_value}</b>"
|
content += "设置为<b>#{new_value}</b>"
|
||||||
|
|||||||
Reference in New Issue
Block a user