debian-mirror-gitlab/app/views/projects/mattermosts/new.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
613 B
Text
Raw Normal View History

2022-07-16 23:28:13 +05:30
- 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')
2017-08-17 22:00:37 +05:30
2022-07-16 23:28:13 +05:30
- if @teams_error_message
= render Pajamas::AlertComponent.new(variant: :danger) do |c|
2023-07-09 08:55:56 +05:30
- c.with_body do
2022-07-16 23:28:13 +05:30
= @teams_error_message
%h3
Install Mattermost Command
.gl-float-right
2017-08-17 22:00:37 +05:30
= custom_icon('mattermost_logo', size: 48)
2022-07-16 23:28:13 +05:30
- if @teams.empty?
= render 'no_teams'
- else
= render 'team_selection'