Add seperator when notifications > 0

pull/143/head
Omar Roth 2018-08-30 16:52:29 -05:00
rodzic cb01b50fbb
commit ed8ddbc07d
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -16,6 +16,13 @@
</div>
<center><%= notifications.size %> unseen notifications</center>
<% if !notifications.empty? %>
<div class="h-box">
<hr>
</div>
<% end %>
<% notifications.each_slice(4) do |slice| %>
<div class="pure-g">
<% slice.each do |video| %>