Add extension URL display
All checks were successful
CI / scan_ruby (push) Successful in 1m3s
CI / scan_js (push) Successful in 13s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 38s

This commit is contained in:
sto
2025-06-13 18:30:47 +02:00
parent 7444a09046
commit d7d90f0c91
2 changed files with 7 additions and 2 deletions

View File

@@ -7,10 +7,15 @@
span.badge.text-bg-info.me-2
= badge
.row.mb-4
.row
.col.alert.alert-success
= t("contests.show.public_scoreboard")
= link_to root_url + "public/#{@contest.slug}", root_url + "public/#{@contest.slug}"
.row.mb-4
.col.alert.alert-success
|> URL for the public scoreboard extension:
= link_to "#{message_url}?token=#{@contest.generate_token_for(:token)}"
.row.mb-4
.col-6