diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-26 09:16:07 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-30 11:01:36 +0100 |
commit | b3de65bcc5627915511182a9ac9857b1fef14853 (patch) | |
tree | 537c79d5c1f03b1306556b3abf20a5bb3fe565dc /app/views/projects/mattermosts/_no_teams.html.haml | |
parent | 8bcc911b9bc9fcb2179860c5a98d8a1ad3ec34b0 (diff) | |
download | gitlab-ce-b3de65bcc5627915511182a9ac9857b1fef14853.tar.gz |
Update #list_teams to propagate errors
Diffstat (limited to 'app/views/projects/mattermosts/_no_teams.html.haml')
-rw-r--r-- | app/views/projects/mattermosts/_no_teams.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/mattermosts/_no_teams.html.haml b/app/views/projects/mattermosts/_no_teams.html.haml index 1bb3642431e..aac74a25b75 100644 --- a/app/views/projects/mattermosts/_no_teams.html.haml +++ b/app/views/projects/mattermosts/_no_teams.html.haml @@ -1,5 +1,6 @@ -= content_for :flash_message do - .alert.alert-danger= @teams if @teams.is_a?(String) +- 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 |