Blocca la seconda diretta sullo stesso utente, registra gli abusi in admin e presenta la copertina come grafica caricata dalla società, con demo Team MLTV. Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
754 B
Ruby
43 lines
754 B
Ruby
# frozen_string_literal: true
|
|
|
|
module MatchLiveTv
|
|
# Set demo ufficiale per mockup, preview e contenuti dimostrativi del sito.
|
|
# Nomi fittizi, chiaramente riconducibili a MatchLiveTV — mai società o sponsor reali.
|
|
module Demo
|
|
HOME_TEAM = "Team MLTV"
|
|
AWAY_TEAM = "Team Guest"
|
|
CATEGORY = "U15 MASCHILE"
|
|
VENUE = "Pala MLTV"
|
|
|
|
module_function
|
|
|
|
def home_team
|
|
HOME_TEAM
|
|
end
|
|
|
|
def away_team
|
|
I18n.t("demo.away_team", default: AWAY_TEAM)
|
|
end
|
|
|
|
def category
|
|
CATEGORY
|
|
end
|
|
|
|
def when_label
|
|
I18n.t("demo.when")
|
|
end
|
|
|
|
def venue
|
|
VENUE
|
|
end
|
|
|
|
def match_title
|
|
"#{home_team} vs #{away_team}"
|
|
end
|
|
|
|
def live_meta
|
|
"#{VENUE} · Match Live TV"
|
|
end
|
|
end
|
|
end
|