summaryrefslogtreecommitdiff
path: root/app/views/projects/mattermosts/_no_teams.html.haml
blob: 3d901c6f59b48b1ef4dbae3c215eed80b8142fe6 (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
    = render Pajamas::AlertComponent.new(variant: :danger) do
      .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'