summaryrefslogtreecommitdiff
path: root/app/views/projects/services
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-12-19 15:56:39 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2016-12-19 15:56:39 +0000
commit9d7744594f7fd62ccfdb003f069596437465f7f2 (patch)
tree89b4587bf013ecf22c55e8793aa1cebfb4d4ad59 /app/views/projects/services
parent8df4a4124d6f30c63ad93ae55a75cf37cc494a4d (diff)
downloadgitlab-ce-9d7744594f7fd62ccfdb003f069596437465f7f2.tar.gz
zj frontend review
Diffstat (limited to 'app/views/projects/services')
-rw-r--r--app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml b/app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml
index 85fd17ff2ce..11a7bd7d30e 100644
--- a/app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml
+++ b/app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml
@@ -4,7 +4,7 @@
.col-sm-9= @service.activated? ? 'Installed' : 'Not installed'
.row
%strong.col-sm-3.text-right Mattermost
- = link_to Gitlab.config.mattermost.host, Gitlab.config.mattermost.host, class: 'col-sm-9', target: '__blank'
+ = link_to Gitlab.config.mattermost.host.gsub(/\A.*?:\/\//, ''), Gitlab.config.mattermost.host, class: 'col-sm-9', target: '__blank'
.row
%strong.col-sm-3.text-right Installation
.col-sm-9