Fix tab name for auto-generated channels

This commit is contained in:
Omar Roth 2019-03-08 22:01:59 -06:00
parent c4d77bc18a
commit 9b8703cf49
1 changed files with 7 additions and 3 deletions

View File

@ -22,13 +22,17 @@
<div class="pure-g h-box"> <div class="pure-g h-box">
<div class="pure-u-1-3"> <div class="pure-u-1-3">
<a href="https://www.youtube.com/channel/<%= ucid %>"><%= translate(locale, "View channel on YouTube") %></a> <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"> <div class="pure-u-1 pure-md-1-3">
<b><%= translate(locale, "Videos") %></b> <b><%= translate(locale, "Videos") %></b>
</div> </div>
<% end %>
<div class="pure-u-1 pure-md-1-3"> <div class="pure-u-1 pure-md-1-3">
<% if !auto_generated %> <% if auto_generated %>
<a href="/channel/<%= ucid %>/playlists"><%= translate(locale, "Playlists") %></a> <b><%= translate(locale, "Playlists") %></b>
<% end %> <% else %>
<a href="/channel/<%= ucid %>/playlists"><%= translate(locale, "Playlists") %></a>
<% end %>
</div> </div>
</div> </div>
<div class="pure-u-1-3"> <div class="pure-u-1-3">