mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Show notifications indicator
This commit is contained in:
parent
923f9a716b
commit
fe5142753c
1 changed files with 1 additions and 4 deletions
|
@ -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| %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue