mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
Show notifications indicator
This commit is contained in:
parent
923f9a716b
commit
fe5142753c
@ -16,16 +16,13 @@
|
||||
</div>
|
||||
|
||||
<div class="h-box">
|
||||
<% if notifications.empty? %>
|
||||
<center><%= notifications.size %> unseen notifications</center>
|
||||
<% else %>
|
||||
<% notifications.each_slice(4) do |slice| %>
|
||||
<% slice.each do |video| %>
|
||||
<%= rendered "components/video" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<hr>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
<% videos.each_slice(4) do |slice| %>
|
||||
|
Loading…
Reference in New Issue
Block a user