mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add seperator when notifications > 0
This commit is contained in:
parent
cb01b50fbb
commit
ed8ddbc07d
1 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<center><%= notifications.size %> unseen notifications</center>
|
<center><%= notifications.size %> unseen notifications</center>
|
||||||
|
|
||||||
|
<% if !notifications.empty? %>
|
||||||
|
<div class="h-box">
|
||||||
|
<hr>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<% notifications.each_slice(4) do |slice| %>
|
<% notifications.each_slice(4) do |slice| %>
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<% slice.each do |video| %>
|
<% slice.each do |video| %>
|
||||||
|
|
Loading…
Reference in a new issue