<% if @team.club %>

<%= link_to "← #{@team.club.name}", admin_club_path(@team.club) %>

<% end %>

<%= @team.name %>

Sport: <%= @team.sport %>

<% if @team.club %>

Società: <%= @team.club.name %> · <%= link_to "Pagamenti e fatture", admin_billing_path(club_id: @team.club.id) %>

<% end %> <% yt = Youtube::TeamStatus.new(@team) %>

YouTube: <% if yt.selectable? %> <%= yt.channel_title || "—" %> <% if yt.uses_platform_channel? %> (canale piattaforma<%= @team.entitlements.premium_full? && @team.club.youtube_credential.blank? ? ", default senza OAuth società" : "" %>) <% else %> (canale società) <% end %> <% else %> non pronto <% end %>

<% if @team.entitlements.premium_full? && @team.club.youtube_credential.blank? %>

Senza canale collegato, l’app usa il canale Match Live TV. <%= link_to "Collega canale (pagina società)", public_club_path(@team.club) %>.

<% end %>

Partite