Merge pull request '更新SendJournalService notes' (#70) from KingChan/forgeplus:chenjing into standalone_develop
This commit is contained in:
commit
de87bd8d75
|
@ -20,7 +20,7 @@ class PullRequests::SendJournalService < ApplicationService
|
||||||
journalized_id: @issue.id ,
|
journalized_id: @issue.id ,
|
||||||
journalized_type: "Issue",
|
journalized_type: "Issue",
|
||||||
user_id: sender_id ,
|
user_id: sender_id ,
|
||||||
notes: "@xxx 您好!欢迎参与 #{@project.name} 的贡献。首次进行贡献请完成《<a href='/#{@project.owner.login}/cla/#{@project.owner.cla.key}' target='_blank'>#{@project.owner.cla.name}</a>》的签署,签署完成后,项目成员才可查看到您的合并请求",
|
notes: "@#{@current_user.nickname} 您好!欢迎参与 #{@project.name} 的贡献。首次进行贡献请完成《<a href='/#{@project.owner.login}/cla/#{@project.owner.cla.key}' target='_blank'>#{@project.owner.cla.name}</a>》的签署,签署完成后,项目成员才可查看到您的合并请求",
|
||||||
}
|
}
|
||||||
journal = Journal.new journal_params
|
journal = Journal.new journal_params
|
||||||
if journal.save
|
if journal.save
|
||||||
|
|
Loading…
Reference in New Issue