Revision d91a0e4d
Added by Ohad Levy about 7 years ago
app/views/layouts/_application_content.html.erb | ||
---|---|---|
<div id="main">
|
||
<%= content_tag('div', flash[:error], :class => 'flash hide error') if flash[:error] %>
|
||
<%= content_tag('div', flash[:warning], :class => 'flash hide warning') if flash[:warning] %>
|
||
<%= content_tag('div', flash[:notice], :class => 'flash hide notice') if flash[:notice] %>
|
||
<%= notifications %>
|
||
<div id="content" class="container">
|
||
<% unless @page_header.blank? %>
|
||
<div class="row form-group">
|
||
... | ... | |
<%= yield %>
|
||
</div>
|
||
</div>
|
||
|
Also available in: Unified diff
fixes #14178 - introduce patternfly toast notifications
- replaces old jnoitfy with react implementation.
- Adds a notification store to handle events from
rails flash + legacy javascript Notice function and expose
an Action API to add notifications.