Fix rendering of notifications

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

ファイルの表示

@ -15,15 +15,15 @@
</div> </div>
</div> </div>
<div class="h-box">
<center><%= notifications.size %> unseen notifications</center> <center><%= notifications.size %> unseen notifications</center>
<% notifications.each_slice(4) do |slice| %> <% notifications.each_slice(4) do |slice| %>
<div class="pure-g">
<% slice.each do |video| %> <% slice.each do |video| %>
<%= rendered "components/video" %> <%= rendered "components/video" %>
<% end %> <% end %>
</div>
<% end %> <% end %>
<hr> <hr>
</div>
<% videos.each_slice(4) do |slice| %> <% videos.each_slice(4) do |slice| %>
<div class="pure-g"> <div class="pure-g">