diff --git a/app/views/contests/offline_completed.html.slim b/app/views/contests/offline_completed.html.slim index 269bb6d..f358090 100644 --- a/app/views/contests/offline_completed.html.slim +++ b/app/views/contests/offline_completed.html.slim @@ -1 +1,5 @@ -| TODO \ No newline at end of file +h3 = t("offlines.form.completed_message") + +- if @contest.public + a.mt-3.btn.btn-success href="/public/#{@contest.slug}" + = t("contests.show.open_public_scoreboard") \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index 6d465a1..6d0f870 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -246,6 +246,7 @@ en: log_out: Log out offlines: form: + completed_message: Thanks for your participation! end_image_select: Take a photo of your completed puzzle start_image_select: Take a photo of the puzzle with the provided code written on a paper before starting it start_message: Let's go! diff --git a/config/locales/fr.yml b/config/locales/fr.yml index cc3d9e5..cd4ad83 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -217,6 +217,7 @@ fr: log_out: Déconnexion offlines: form: + completed_message: Merci pour ta participation ! end_image_select: Prends une photo du puzzle une fois complété start_image_select: Prends une photo du puzzle avant de le commencer, avec le code donné par l'organisateur.ice écrit sur du papier start_message: C'est parti !