Add card to empty notifications list
This commit is contained in:
parent
83e0f7a711
commit
7c96627106
|
@ -1,13 +1,14 @@
|
||||||
%ul.list-group#notifications
|
%ul.list-group#notifications
|
||||||
- if @notifications.count.zero?
|
- if @notifications.count.zero?
|
||||||
%li.list-group-item.text-center
|
.card
|
||||||
.notifications--none
|
%li.list-group-item.text-center
|
||||||
%i.fa.fa-bell-o.notification__bell-icon
|
.notifications--none
|
||||||
%p
|
%i.fa.fa-bell-o.notification__bell-icon
|
||||||
- if params[:type] == 'all'
|
%p
|
||||||
= t(".none_filtered")
|
- if params[:type] == 'all'
|
||||||
- else
|
= t(".none_filtered")
|
||||||
= t(".none")
|
- else
|
||||||
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
- @notifications.each do |notification|
|
- @notifications.each do |notification|
|
||||||
.card
|
.card
|
||||||
|
|
Loading…
Reference in New Issue