Improve styling of the new issue message

This commit is contained in:
Z.J. van de Weg 2017-01-31 12:00:43 +01:00
parent d7f298c177
commit 164eb3aa37
1 changed files with 2 additions and 2 deletions

View File

@ -34,11 +34,11 @@ module Gitlab
end
def pretext
"I opened an issue on behalf on #{author_profile_link}: *#{@resource.to_reference}* from #{project.name_with_namespace}"
"I created an issue on #{author_profile_link}'s behalf: **#{@resource.to_reference}** in #{project_link}"
end
def project_link
"[#{project.name_with_namespace}](#{url_for(project)})"
"[#{project.name_with_namespace}](#{projects_url(project)})"
end
def author_profile_link