Fix mobile conversation alerts

This commit is contained in:
Steffen van Bergerem 2016-09-30 16:51:06 +02:00 committed by Dennis Schubert
parent 0c995eb629
commit 5c24714245
No known key found for this signature in database
GPG key ID: 5A0304BEA7966D7E

View file

@ -7,10 +7,8 @@
= link_to t(".new_conversation"), new_conversation_path, class: "btn btn-default pull-right"
- flash.each do |name, msg|
%div{ id: "flash_#{name}", class: "expose" }
.message= msg
.stream
%p{ class: "conversation_#{name}" }= msg
.alert{class: "alert-#{flash_class name}", role: "alert"}
= msg
.conversation-inbox#conversation-inbox
.stream.conversations