summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-01-31 12:00:43 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-01-31 13:42:04 +0100
commit164eb3aa37cbcff2c5fbf582c3acdbaa3e6fee77 (patch)
tree2bc7e3a2185764a96cfd55d23f7a5d26f37a7e2d
parentd7f298c177555a09ac06acc9ad037611f664cc9e (diff)
downloadgitlab-ce-zj-format-chat-messages.tar.gz
Improve styling of the new issue messagezj-format-chat-messages
-rw-r--r--lib/gitlab/chat_commands/presenters/issue_new.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/chat_commands/presenters/issue_new.rb b/lib/gitlab/chat_commands/presenters/issue_new.rb
index 6e88e0574a3..a1a3add56c9 100644
--- a/lib/gitlab/chat_commands/presenters/issue_new.rb
+++ b/lib/gitlab/chat_commands/presenters/issue_new.rb
@@ -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