mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add msg to warn users about empty vid and pl tab
(cherry picked from commit 0a744d7cfa
)
This commit is contained in:
parent
fb62ebae28
commit
65f22b42bf
3 changed files with 22 additions and 3 deletions
|
@ -436,7 +436,12 @@
|
|||
"footer_modfied_source_code": "Modified Source code",
|
||||
"adminprefs_modified_source_code_url_label": "URL to modified source code repository",
|
||||
"channel_about_page_details_section_header": "Details",
|
||||
"channel_about_page_details_country_label: ": "Country: ",
|
||||
"channel_about_page_stats_section_header": "Stats",
|
||||
"channel_about_page_stats_joined_label": "Joined",
|
||||
"channel_about_page_links_section_header": "Links"
|
||||
"channel_about_page_links_section_header": "Links",
|
||||
"This channel doesn't feature any other channels.": "This channel doesn't feature any other channels.",
|
||||
"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."
|
||||
}
|
||||
|
|
|
@ -6,7 +6,14 @@
|
|||
|
||||
<% content_type = 1 %>
|
||||
<%= 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">
|
||||
<% items.each do |item| %>
|
||||
|
|
|
@ -5,7 +5,14 @@
|
|||
|
||||
<% content_type = 2 %>
|
||||
<%= 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">
|
||||
<% items.each do |item| %>
|
||||
|
|
Loading…
Reference in a new issue