Add msg to warn users about empty vid and pl tab

This commit is contained in:
syeopite 2021-06-26 19:12:44 -07:00
parent 07d3f6fb12
commit 0a744d7cfa
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82
29 changed files with 97 additions and 29 deletions

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "Privacy",
"short": "Short (< 4 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."
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -450,5 +450,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -449,5 +449,7 @@
"Privacy": "",
"short": "",
"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.": ""
}

View file

@ -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| %>

View file

@ -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| %>