<%= link_to t("admin.clubs.show.back"), admin_clubs_path %>

<%= @club.name %>

<%= t("admin.clubs.show.sport_label", sport: @club.sport) %> · <%= link_to t("admin.clubs.show.recordings_archive"), admin_club_recordings_path(@club) %> · <%= link_to t("admin.clubs.show.billing_link"), admin_billing_path(club_id: @club.id) %> · <%= link_to t("admin.clubs.show.youtube_platform_link"), admin_youtube_platform_path %>

<%= render "admin/clubs/comped_form", club: @club, subscription: @subscription, return_to: admin_club_path(@club) %> <%= render "admin/clubs/quote_form", club: @club, quote: @quote, return_to: admin_club_path(@club) %> <% cred = @club.youtube_credential %>

<%= t("admin.clubs.show.youtube_club_label") %> <% if cred %> <%= cred.channel_title.presence || cred.channel_id %> <%= t("admin.clubs.show.youtube_connected") %> <% elsif @teams.any? { |t| t.entitlements.premium_full? } %> <%= t("admin.clubs.show.youtube_premium_full_not_connected") %> <% else %> <%= t("admin.common.dash") %> <% end %>

<%= t("admin.clubs.show.teams_title") %>

<% if @teams.empty? %>

<%= t("admin.clubs.show.no_teams") %>

<% else %> <% @teams.each do |team| %> <% end %>
<%= t("admin.clubs.show.table.team") %> <%= t("admin.clubs.show.table.sport") %>
<%= team.name %> <%= team.sport %> <%= link_to t("admin.clubs.show.matches_and_details"), admin_team_path(team) %> · <%= link_to t("admin.clubs.show.replay"), admin_club_recordings_path(@club, team_id: team.id) %>
<% end %>