summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-01-31 11:40:27 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-01-31 11:40:27 +0000
commite4bcdddfa79d855e7f320a8d91e79e17d2e1bf5f (patch)
tree773ec4112b83aed98c1c4faefd1b0f60e2640d7c /app/views/projects
parent223f1f3d2dd95d6b87a485ce0df6f4fef77eb522 (diff)
parentbd5245dba67b4aa4fccce819e4491259d568240b (diff)
downloadgitlab-ce-e4bcdddfa79d855e7f320a8d91e79e17d2e1bf5f.tar.gz
Merge branch 'zj-display-error-team-fetch' into 'master'
Fix inconsistent return type Closes #27150 See merge request !8290
Diffstat (limited to 'app/views/projects')
-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