summaryrefslogtreecommitdiff
path: root/app/views/projects/mattermosts/new.html.haml
blob: 8254198bd412a7c6c67aceeec3284212eef80338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- add_to_breadcrumbs _('Integrations'), scoped_integrations_path(project: @project, group: @group)
- add_to_breadcrumbs @integration.title, scoped_edit_integration_path(@integration, project: @project, group: @group)
- breadcrumb_title _('New')
- page_title @integration.title, _('Integrations')
- @content_class = 'limit-container-width' unless fluid_layout

- if @teams_error_message
  = render Pajamas::AlertComponent.new(variant: :danger) do |c|
    = c.body do
      = @teams_error_message

%h3
  Install Mattermost Command
  .gl-float-right
    = custom_icon('mattermost_logo', size: 48)

- if @teams.empty?
  = render 'no_teams'
- else
  = render 'team_selection'