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