Fix rendering of notifications
This commit is contained in:
parent
fe5142753c
commit
f121e74d33
1 changed files with 9 additions and 9 deletions
|
@ -15,15 +15,15 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="h-box">
|
||||
<center><%= notifications.size %> unseen notifications</center>
|
||||
<% notifications.each_slice(4) do |slice| %>
|
||||
<center><%= notifications.size %> unseen notifications</center>
|
||||
<% notifications.each_slice(4) do |slice| %>
|
||||
<div class="pure-g">
|
||||
<% slice.each do |video| %>
|
||||
<%= rendered "components/video" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<hr>
|
||||
|
||||
<% videos.each_slice(4) do |slice| %>
|
||||
<div class="pure-g">
|
||||
|
|
Loading…
Reference in a new issue