Completions: notice when no puzzles defined
This commit is contained in:
@@ -29,6 +29,12 @@
|
|||||||
.row.mt-5
|
.row.mt-5
|
||||||
.col
|
.col
|
||||||
h3 Completions
|
h3 Completions
|
||||||
|
- if @contest.puzzles.length == 0
|
||||||
|
.row
|
||||||
|
.col
|
||||||
|
.alert.alert-warning
|
||||||
|
= t("contestants.edit.no_puzzles_note")
|
||||||
|
- else
|
||||||
.row
|
.row
|
||||||
.col
|
.col
|
||||||
.alert.alert-info
|
.alert.alert-info
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ en:
|
|||||||
end_image: End image
|
end_image: End image
|
||||||
notice: Participant updated
|
notice: Participant updated
|
||||||
not_finished: Not yet finished
|
not_finished: Not yet finished
|
||||||
|
no_puzzles_note: No puzzles were added yet
|
||||||
offline_participation: Offline participation
|
offline_participation: Offline participation
|
||||||
start_image: Start image
|
start_image: Start image
|
||||||
title: Participant
|
title: Participant
|
||||||
|
|||||||
@@ -188,6 +188,7 @@ fr:
|
|||||||
end_image: Image de fin
|
end_image: Image de fin
|
||||||
notice: Participant.e modifié.e
|
notice: Participant.e modifié.e
|
||||||
not_finished: Non terminé
|
not_finished: Non terminé
|
||||||
|
no_puzzles_note: Aucun puzzle n'a été défini encore pour ce concours
|
||||||
offline_participation: Participation hors-ligne
|
offline_participation: Participation hors-ligne
|
||||||
start_image: Image de début
|
start_image: Image de début
|
||||||
title: Participant.e
|
title: Participant.e
|
||||||
|
|||||||
Reference in New Issue
Block a user