Events: kickstart shared scoreboard
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
sto
2026-07-30 08:33:55 +02:00
parent b8a2e4b0b4
commit 4a4c79ad8a
13 changed files with 73 additions and 8 deletions

View File

@@ -8,7 +8,14 @@
a.mt-3.btn.btn-primary.mb-4 href=new_contest_path(event: @event.id)
= t("events.show.new_contest")
.row.row-cols-1.row-cols-md-3.g-4
- if @event.shared_scoreboard
a.btn.btn-success href="/public/event/#{@event.slug}" style="margin-top: -6px;"
= t("events.show.open_shared_scoreboard")
- else
a.btn.btn-success.disabled style="margin-top: -6px;"
= t("events.show.shared_scoreboard_disabled")
.mt-3.row.row-cols-1.row-cols-md-3.g-4
- @contests.each do |contest|
.col
css: