diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-31 12:00:43 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-31 13:42:04 +0100 |
commit | 164eb3aa37cbcff2c5fbf582c3acdbaa3e6fee77 (patch) | |
tree | 2bc7e3a2185764a96cfd55d23f7a5d26f37a7e2d /lib | |
parent | d7f298c177555a09ac06acc9ad037611f664cc9e (diff) | |
download | gitlab-ce-164eb3aa37cbcff2c5fbf582c3acdbaa3e6fee77.tar.gz |
Improve styling of the new issue messagezj-format-chat-messages
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/chat_commands/presenters/issue_new.rb | 4 |
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 |