summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-08 22:01:59 -0600
committerOmar Roth <omarroth@hotmail.com>2019-03-08 22:01:59 -0600
commit9b8703cf490e85f4f55c1579ff597dd1585e0223 (patch)
treec1ae3b1f036f0a726cf293c80f337d7abbc7be18 /src
parentc4d77bc18a726941823dfcc6a0b8e2159d73517e (diff)
downloadinvidious-9b8703cf490e85f4f55c1579ff597dd1585e0223.tar.gz
invidious-9b8703cf490e85f4f55c1579ff597dd1585e0223.tar.bz2
invidious-9b8703cf490e85f4f55c1579ff597dd1585e0223.zip
Fix tab name for auto-generated channels
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/channel.ecr10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr
index 5d635b4e..d40d8d9f 100644
--- a/src/invidious/views/channel.ecr
+++ b/src/invidious/views/channel.ecr
@@ -22,13 +22,17 @@
<div class="pure-g h-box">
<div class="pure-u-1-3">
<a href="https://www.youtube.com/channel/<%= ucid %>"><%= translate(locale, "View channel on YouTube") %></a>
+ <% if !auto_generated %>
<div class="pure-u-1 pure-md-1-3">
<b><%= translate(locale, "Videos") %></b>
</div>
+ <% end %>
<div class="pure-u-1 pure-md-1-3">
- <% if !auto_generated %>
- <a href="/channel/<%= ucid %>/playlists"><%= translate(locale, "Playlists") %></a>
- <% end %>
+ <% if auto_generated %>
+ <b><%= translate(locale, "Playlists") %></b>
+ <% else %>
+ <a href="/channel/<%= ucid %>/playlists"><%= translate(locale, "Playlists") %></a>
+ <% end %>
</div>
</div>
<div class="pure-u-1-3">