mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-23 14:29:26 -05:00
Add msg to warn users about empty vid and pl tab
This commit is contained in:
parent
39187cc8c2
commit
78da8f8899
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "Privacy",
|
"Privacy": "Privacy",
|
||||||
"short": "Short (< 4 minutes)",
|
"short": "Short (< 4 minutes)",
|
||||||
"long": "Long (> 20 minutes)",
|
"long": "Long (> 20 minutes)",
|
||||||
"This channel doesn't have any content.": "This channel doesn't have any content."
|
"This channel doesn't have any content.": "This channel doesn't have any content.",
|
||||||
|
"This channel has no videos.": "This channel has no videos.",
|
||||||
|
"This channel has no playlists.": "This channel has no playlists."
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -450,5 +450,7 @@
|
|||||||
"Privacy": "",
|
"Privacy": "",
|
||||||
"short": "",
|
"short": "",
|
||||||
"long": "",
|
"long": "",
|
||||||
"This channel doesn't have any content.": ""
|
"This channel doesn't have any content.": "",
|
||||||
|
"This channel has no videos.": "",
|
||||||
|
"This channel has no playlists.": ""
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,14 @@
|
|||||||
|
|
||||||
<% content_type = 2 %>
|
<% content_type = 2 %>
|
||||||
<%= rendered "components/channels/channel-information" %>
|
<%= rendered "components/channels/channel-information" %>
|
||||||
<%= rendered "components/channels/content-sorting-bar" %>
|
|
||||||
|
<% if items.size > 0 %>
|
||||||
|
<%= rendered "components/channels/content-sorting-bar" %>
|
||||||
|
<% else %>
|
||||||
|
<h3 class="pure-u-1 h-box">
|
||||||
|
<%= translate(locale, "This channel has no playlists.")%>
|
||||||
|
</h3>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<% items.each_slice(4) do |slice| %>
|
<% items.each_slice(4) do |slice| %>
|
||||||
|
@ -6,7 +6,14 @@
|
|||||||
|
|
||||||
<% content_type = 1 %>
|
<% content_type = 1 %>
|
||||||
<%= rendered "components/channels/channel-information" %>
|
<%= rendered "components/channels/channel-information" %>
|
||||||
<%= rendered "components/channels/content-sorting-bar" %>
|
|
||||||
|
<% if count.not_nil! > 0 %>
|
||||||
|
<%= rendered "components/channels/content-sorting-bar" %>
|
||||||
|
<% else %>
|
||||||
|
<h3 class="pure-u-1 h-box">
|
||||||
|
<%= translate(locale, "This channel has no videos.")%>
|
||||||
|
</h3>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<% items.each_slice(4) do |slice| %>
|
<% items.each_slice(4) do |slice| %>
|
||||||
|
Loading…
Reference in New Issue
Block a user