<% content_for :title, "Replay — Match Live TV" %> <% content_for :meta_description, "Archivio replay delle dirette sportive su Match Live TV. Cerca per società, squadra o avversario." %>
<%= link_to "← Dirette live", public_live_index_path, class: "back-link" %>

Live passate

Replay pubblici delle società sportive — riguarda le partite già trasmesse.

<%= form_with url: public_replay_index_path, method: :get, local: true, class: "search-form" do %> <% if params[:club_id].present? %> <%= hidden_field_tag :club_id, params[:club_id] %> <% end %> <% if @query.present? || params[:club_id].present? %> <%= link_to "Azzera", public_replay_index_path, class: "btn btn-secondary" %> <% end %> <% end %> <% if @clubs.many? %> <%= form_with url: public_replay_index_path, method: :get, local: true, class: "replay-filter-form" do %> <% if @query.present? %> <%= hidden_field_tag :q, @query %> <% end %> <% end %> <% end %> <% if @query.present? %>

Risultati per «<%= h @query %>»<% if @filter_club %> · <%= @filter_club.name %><% end %>: <%= @recordings.size %> replay

<% end %> <% if @recordings.any? %>
<% @recordings.each do |rec| %> <% match = rec.stream_session.match %> <%= link_to public_replay_path(rec.stream_session_id), class: "replay-card" do %>
<% if rec.thumbnail_url %> <% else %> <% end %> <%= rec.duration_label %>
<%= rec.title_or_default %>

<%= match.team.club.name %> · <%= l_local(rec.recorded_at_or_fallback) %> <% if rec.source_platform_label != "—" %> · <%= rec.source_platform_label %> <% end %>

<%= rec.views_label %>

<% end %> <% end %>
<% else %>
<% if @query.present? || params[:club_id].present? %>

Nessun replay trovato con i filtri selezionati.

<%= link_to "Mostra tutti i replay pubblici", public_replay_index_path, class: "btn btn-secondary" %>

<% else %>

Nessun replay pubblico al momento.

Quando una società rende pubblica una registrazione, comparirà qui.

<%= link_to "Vai alle dirette live", public_live_index_path, class: "btn btn-secondary", style: "margin-top:12px;display:inline-block" %> <% end %>
<% end %>