kinda gross hack to prevent mobile notifications from show up for unauthenticated users

This commit is contained in:
Maxwell Salzberg 2012-03-13 16:31:16 -07:00
parent ba88ce6be4
commit 8ac7a74f50

View file

@ -50,6 +50,7 @@
.navbar-inner .navbar-inner
.container{:style => "position: relative;"} .container{:style => "position: relative;"}
= link_to(image_tag('header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), stream_path) = link_to(image_tag('header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), stream_path)
- if user_signed_in?
#nav_badges #nav_badges
.badge{:id => "notification_badge"} .badge{:id => "notification_badge"}
= link_to(image_tag('icons/notifications_grey.png', :height => 16, :width => 16, :id => 'notification-flag'), notifications_path) = link_to(image_tag('icons/notifications_grey.png', :height => 16, :width => 16, :id => 'notification-flag'), notifications_path)