Commit ceb700b6 authored by Alexander Turinske's avatar Alexander Turinske

Convert mattermost alert to pajamas

parent be7b38c4
- if @teams_error_message - if @teams_error_message
= content_for :flash_message do = content_for :flash_message do
.alert.alert-danger= @teams_error_message .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 %p
You aren’t a member of any team on the Mattermost instance at You aren’t a member of any team on the Mattermost instance at
......
---
title: Convert mattermost alert to pajamas
merge_request: 56556
author:
type: other
...@@ -113,7 +113,7 @@ RSpec.describe 'Set up Mattermost slash commands', :js do ...@@ -113,7 +113,7 @@ RSpec.describe 'Set up Mattermost slash commands', :js do
click_link 'Add to Mattermost' click_link 'Add to Mattermost'
expect(page).to have_selector('.alert') expect(page).to have_selector('.gl-alert')
expect(page).to have_content('test mattermost error message') expect(page).to have_content('test mattermost error message')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment