mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-15 06:34:32 +08:00
fix
This commit is contained in:
@@ -23,7 +23,7 @@ class MessageTemplate::ProjectRole < MessageTemplate
|
||||
end
|
||||
end
|
||||
return '', '', '' if receivers.blank?
|
||||
content = sys_notice.gsub('{repository}', project&.name).gsub('{role}', role)
|
||||
content = sys_notice.gsub('{nickname}', project&.owner&.real_name).gsub('{repository}', project&.name).gsub('{role}', role)
|
||||
url = notification_url.gsub('{owner}', project&.owner&.login).gsub('{identifier}', project&.identifier)
|
||||
return receivers_string(receivers), content, url
|
||||
rescue => e
|
||||
|
||||
Reference in New Issue
Block a user