summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-28 00:04:47 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-28 00:04:47 -0400
commit6b66877bda4c0e4a33bb3109304636d5ada85904 (patch)
tree7065307802fec8452afc89c8a7b445fd2ceca772 /app/views/layouts/application.html.erb
parent33fcf6de9feaaa6f90dfe5082e08d280c930dae1 (diff)
parent7a4832621f1a0bb2e4b86ee9f879a73df0188a3e (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r--app/views/layouts/application.html.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 9eea734..f3535e9 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -35,9 +35,8 @@
<%= link_to "Create Alert", new_alert_path, :class => "create-alert" %>
<% end %>
<%= link_to "Sign out", session_path("current"), method: "delete", :class => "signout" %>
- <%= link_to "", alerts_path, :class => "alerts"%>
-
-
+ <%# if there is an unread alert then I wanna be able to show the notification icon by saying :style => display:inline. This will be Done by Guntas once he figures out how to get unread alerts. Psuedo if alerts.unread > 0 then display else don't.%>
+ <%= link_to "", alerts_path, :class => "alerts", :id => "alerts-ajax"%>
<% else %>
<%= link_to "Log in", new_session_path, :class => "signin" %>
<%= link_to "Sign up", new_user_path, :class => "signup" %>