<% if channel.banner %>

<% end %>
<%= channel.author %>

<%= channel.description_html %>

<% ucid = channel.ucid %> <% author = channel.author %> <% sub_count_text = number_to_short_text(channel.sub_count) %> <%= rendered "components/subscribe_widget" %>
<% if content_type == 0 %>
  • <%= translate(locale, "Home") %>
  • <% else %>
  • <%= translate(locale, "Home") %>
  • <% end %> <% if !channel.auto_generated %> <% if content_type == 1 %>
  • <%= translate(locale, "Videos") %>
  • <% else %>
  • <%= translate(locale, "Videos") %>
  • <% end %> <% end %> <% if content_type == 2 %>
  • <%= translate(locale, "Playlists") %>
  • <% else %>
  • <%= translate(locale, "Playlists") %>
  • <% end %> <% if channel.tabs.has_key?("community") %> <% if content_type == 3 %>
  • <%= translate(locale, "Community") %>
  • <% else %>
  • <%= translate(locale, "Community") %>
  • <% end %> <% end %> <% if content_type == 4 %>
  • <%= translate(locale, "Channels") %>
  • <% else %>
  • <%= translate(locale, "Channels") %>
  • <% end %> <% if content_type == 5 %>
  • <%= translate(locale, "About") %>
  • <% else %>
  • <%= translate(locale, "About") %>
  • <% end %> <% if !channel.auto_generated %> <% end %>
    <% if content_type == 1 || content_type == 2 %> <% route = content_type == 1 ? "/playlists" : "" %> <% url = "/channel/#{channel.ucid + route}" %>
    <% end %>