Show notifications indicator

pull/91/head
Omar Roth 6 years ago
parent 923f9a716b
commit fe5142753c

@ -16,15 +16,12 @@
</div> </div>
<div class="h-box"> <div class="h-box">
<% if notifications.empty? %>
<center><%= notifications.size %> unseen notifications</center> <center><%= notifications.size %> unseen notifications</center>
<% else %>
<% notifications.each_slice(4) do |slice| %> <% notifications.each_slice(4) do |slice| %>
<% slice.each do |video| %> <% slice.each do |video| %>
<%= rendered "components/video" %> <%= rendered "components/video" %>
<% end %> <% end %>
<% end %> <% end %>
<% end %>
<hr> <hr>
</div> </div>

Loading…
Cancel
Save