% coverage = tournament_streaming_coverage(@matches) %> <% live_counts = tournament_streaming_live_counts(@matches) %>
<%= t("tournaments.hub.stream_plan_hint") %>
| <% end %> | <%= t("tournaments.hub.datetime") %> | <%= t("tournaments.hub.court") %> | <%= t("tournaments.hub.stream_plan_match") %> | <%= t("tournaments.hub.stream_plan_live_col") %> | <%= t("tournaments.hub.stream_plan_operator") %> |
|---|---|---|---|---|---|
| <% if uncovered %> <% end %> | <% end %><%= match.scheduled_at ? match.scheduled_at.in_time_zone.strftime("%H:%M") : "—" %> | <%= match.court.presence || "—" %> |
<%= tournament_team_chip(match.home_participant, name: match.home_display_name) %>
–
<%= tournament_team_chip(match.away_participant, name: match.away_display_name) %>
|
<%= t("tournaments.hub.stream_plan_live.#{state}") %> | <%= render "public/tournaments/match_streaming", match: match, writable: @writable, allow_invite: false, return_tab: "dirette" %>
<%= t("tournaments.hub.no_matches") %>
<% end %><%= t("tournaments.hub.stream_plan_invite_hint") %>
<%= form_with url: public_tournament_invitations_path(@tournament), method: :post, html: { id: "tournament-stream-invite", class: "tournament-form tournament-invite-form tournament-stream-plan__invite" } do %> <%= hidden_field_tag :tab, "dirette" %><%= t("tournaments.hub.stream_plan_court_day_hint") %>
<%= t("tournaments.hub.invite_email_hint") %>
<% if @tournament.invite_draft_saved_at.present? %><%= t("tournaments.hub.invite_draft_hint", time: l(@tournament.invite_draft_saved_at, format: :short)) %>
<% end %><%= t("team.invite.share_hint") %>
<%= flash[:invite_url] %>