summaryrefslogtreecommitdiff
path: root/app/views/projects/mattermosts/_no_teams.html.haml
blob: 1efec0c017cc901fdce2708dc03dfddff1c96334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- if @teams_error_message
  = content_for :flash_message do
    .gl-alert.gl-alert-danger
      = sprite_icon('error', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
      .gl-alert-body= @teams_error_message

%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
    = sprite_icon('external-link')
  and try again.
%hr
.clearfix
  = link_to 'Go back', edit_project_integration_path(@project, @integration), class: 'gl-button btn btn-lg float-right'