Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-01-31 14:00:43 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-01-31 15:42:04 +0300
commit164eb3aa37cbcff2c5fbf582c3acdbaa3e6fee77 (patch)
tree2bc7e3a2185764a96cfd55d23f7a5d26f37a7e2d /lib
parentd7f298c177555a09ac06acc9ad037611f664cc9e (diff)
Improve styling of the new issue message
Diffstat (limited to 'lib')
-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