Add notifications

This commit is contained in:
Omar Roth
2018-03-31 19:09:27 -05:00
parent 823f679cef
commit 57102c54c7
4 changed files with 30 additions and 14 deletions

View File

@@ -29,7 +29,11 @@
<div class="pure-g">
<div class="pure-u-1 pure-u-md-1-3">
<a href="/feed/subscriptions" class="pure-menu-heading">
<% if env.get("notifications").as(Int32) > 0 %>
<center><i class="fas fa-bell"></i></center>
<% else %>
<center><i class="far fa-bell"></i></center>
<% end %>
</a>
</div>
<div class="pure-u-1 pure-u-md-2-3">