diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-30 16:52:29 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-30 16:52:29 -0500 |
| commit | ed8ddbc07d909d760d07ad70ee7d258682e8a319 (patch) | |
| tree | 3bba3e86ce11857c4062d490b678a66bf7840ec9 | |
| parent | cb01b50fbb6243557e6b4bdc58486158d906dd11 (diff) | |
| download | invidious-ed8ddbc07d909d760d07ad70ee7d258682e8a319.tar.gz invidious-ed8ddbc07d909d760d07ad70ee7d258682e8a319.tar.bz2 invidious-ed8ddbc07d909d760d07ad70ee7d258682e8a319.zip | |
Add seperator when notifications > 0
| -rw-r--r-- | src/invidious/views/subscriptions.ecr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/invidious/views/subscriptions.ecr b/src/invidious/views/subscriptions.ecr index e7d8252f..0b8f4248 100644 --- a/src/invidious/views/subscriptions.ecr +++ b/src/invidious/views/subscriptions.ecr @@ -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| %> |
