2022-04-26 18:09:02 +00:00
|
|
|
- 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
|
2017-02-15 13:49:14 +00:00
|
|
|
|
2022-04-26 18:09:02 +00:00
|
|
|
- if @teams_error_message
|
2022-05-06 00:07:56 +00:00
|
|
|
= render Pajamas::AlertComponent.new(variant: :danger) do |c|
|
|
|
|
= c.body do
|
2022-04-26 18:09:02 +00:00
|
|
|
= @teams_error_message
|
|
|
|
|
|
|
|
%h3
|
|
|
|
Install Mattermost Command
|
|
|
|
.gl-float-right
|
2016-12-16 18:13:52 +00:00
|
|
|
= custom_icon('mattermost_logo', size: 48)
|
2022-04-26 18:09:02 +00:00
|
|
|
|
|
|
|
- if @teams.empty?
|
|
|
|
= render 'no_teams'
|
|
|
|
- else
|
|
|
|
= render 'team_selection'
|