icon bar animation shows up when you have new notifications

This commit is contained in:
Andreas N 2014-12-20 01:37:05 +01:00
parent 368949a031
commit 5aa6248cb1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
%button.navbar-toggle{"data-target" => "#j2-main-navbar-collapse", "data-toggle" => "collapse", type: "button"}
%span.sr-only Toggle navigation
- if user_signed_in?
- unless inbox_count.nil?
- unless inbox_count.nil? or notification_count.nil?
%span.icon-bar.navbar--inbox-animation
%span.icon-bar.navbar--inbox-animation
%span.icon-bar.navbar--inbox-animation