% if @team.club %>
<%= link_to t("admin.teams.show.back", club: @team.club.name), admin_club_path(@team.club) %>
<% end %><%= t("admin.teams.show.sport_label", sport: @team.sport) %>
<% if @team.club %><%= t("admin.teams.show.club_label_html", club: @team.club.name, replay_link: link_to(t("admin.teams.show.replay_link"), admin_club_recordings_path(@team.club, team_id: @team.id)), billing_link: link_to(t("admin.teams.show.billing_link"), admin_billing_path(club_id: @team.club.id))) %>
<% end %> <% yt = Youtube::TeamStatus.new(@team) %><%= t("admin.teams.show.youtube_label") %> <% if yt.selectable? %> <%= yt.channel_title || t("admin.common.dash") %> <% if yt.uses_platform_channel? %> <%= t("admin.teams.show.youtube_platform_channel", suffix: (@team.entitlements.premium_full? && @team.club.youtube_credential.blank? ? t("admin.teams.show.youtube_platform_default_no_oauth") : "")) %> <% else %> <%= t("admin.teams.show.youtube_club_channel") %> <% end %> <% else %> <%= t("admin.teams.show.youtube_not_ready") %> <% end %>
<% if @team.entitlements.premium_full? && @team.club.youtube_credential.blank? %><%= t("admin.teams.show.no_channel_hint_html", link: link_to(t("admin.teams.show.link_channel"), public_club_path(@team.club))) %>
<% end %>