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.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/mattermosts/_no_teams.html.haml b/app/views/projects/mattermosts/_no_teams.html.haml
index 605c7f61dee..aac74a25b75 100644
--- a/app/views/projects/mattermosts/_no_teams.html.haml
+++ b/app/views/projects/mattermosts/_no_teams.html.haml
@@ -1,3 +1,7 @@
+- if @teams_error_message
+ = content_for :flash_message do
+ .alert.alert-danger= @teams_error_message
+
%p
You aren’t a member of any team on the Mattermost instance at
%strong= Gitlab.config.mattermost.host