From 9b8703cf490e85f4f55c1579ff597dd1585e0223 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 8 Mar 2019 22:01:59 -0600 Subject: [PATCH] Fix tab name for auto-generated channels --- src/invidious/views/channel.ecr | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 5d635b4e4..d40d8d9ff 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -22,13 +22,17 @@
<%= translate(locale, "View channel on YouTube") %> + <% if !auto_generated %>
<%= translate(locale, "Videos") %>
+ <% end %>
- <% if !auto_generated %> - <%= translate(locale, "Playlists") %> - <% end %> + <% if auto_generated %> + <%= translate(locale, "Playlists") %> + <% else %> + <%= translate(locale, "Playlists") %> + <% end %>