summaryrefslogtreecommitdiff
path: root/app/views/projects/mattermosts/_no_teams.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/mattermosts/_no_teams.html.haml')
-rw-r--r--app/views/projects/mattermosts/_no_teams.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/projects/mattermosts/_no_teams.html.haml b/app/views/projects/mattermosts/_no_teams.html.haml
new file mode 100644
index 00000000000..605c7f61dee
--- /dev/null
+++ b/app/views/projects/mattermosts/_no_teams.html.haml
@@ -0,0 +1,12 @@
+%p
+ You aren’t a member of any team on the Mattermost instance at
+ %strong= Gitlab.config.mattermost.host
+%p
+ To install this service,
+ = link_to "#{Gitlab.config.mattermost.host}/select_team", target: '__blank' do
+ join a team
+ = icon('external-link')
+ and try again.
+%hr
+.clearfix
+ = link_to 'Go back', edit_namespace_project_service_path(@project.namespace, @project, @service), class: 'btn btn-lg pull-right'