Use only card classes
This commit is contained in:
parent
7c96627106
commit
84abd1226d
|
@ -1,7 +1,7 @@
|
||||||
%ul.list-group#notifications
|
%ul.list-group#notifications
|
||||||
- if @notifications.count.zero?
|
- if @notifications.count.zero?
|
||||||
.card
|
%li.card.text-center
|
||||||
%li.list-group-item.text-center
|
.card-body
|
||||||
.notifications--none
|
.notifications--none
|
||||||
%i.fa.fa-bell-o.notification__bell-icon
|
%i.fa.fa-bell-o.notification__bell-icon
|
||||||
%p
|
%p
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
= t(".none")
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
- @notifications.each do |notification|
|
- @notifications.each do |notification|
|
||||||
.card
|
%li.card
|
||||||
%li.list-group-item
|
.card-body
|
||||||
.media
|
.media
|
||||||
= render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification
|
= render "notifications/type/#{notification.target.class.name.downcase.split('::').last}", notification: notification
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue