Show notifications indicator

このコミットが含まれているのは:
Omar Roth 2018-08-06 08:00:05 -05:00
コミット fe5142753c
1個のファイルの変更1行の追加4行の削除

ファイルの表示

@ -16,16 +16,13 @@
</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>
<% videos.each_slice(4) do |slice| %> <% videos.each_slice(4) do |slice| %>