Commit 164eb3aa authored by Z.J. van de Weg's avatar Z.J. van de Weg

Improve styling of the new issue message

parent d7f298c1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment