1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-05 02:06:52 +00:00

Sélection des équipes qui n'ont pas répondu à la phase 3

This commit is contained in:
Yohann 2020-01-23 19:40:48 +01:00
parent e8187685bb
commit f458f37766
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ switch (Phase::getCurrentPhase()) {
. " JOIN `questions` AS `q4` ON `q4`.`to` = `q1`.`to` AND `q4`.`number` = 4"
. " JOIN `questions` AS `q5` ON `q5`.`to` = `q1`.`to` AND `q5`.`number` = 5"
. " JOIN `questions` AS `q6` ON `q6`.`to` = `q1`.`to` AND `q6`.`number` = 6"
. " WHERE `q1`.`question` = 1"
. " WHERE `q1`.`number` = 1"
. " AND (`q1`.`answer` IS NOT NULL"
. " OR `q2`.`answer` IS NOT NULL"
. " OR `q3`.`answer` IS NOT NULL"

View File

@ -68,7 +68,7 @@
<form method="POST">
<div class="form-group row">
<div class="form-group col-md-12">
<label for="other_teams">L'équipe va recevoir les questions des équipes suivantes (merci d'en
<label for="other_teams">L'équipe va recevoir les vidéos des équipes suivantes (merci d'en
sélectionner exactement 2) :</label>
<select class="custom-select" id="other_teams" name="other_teams[]"
multiple <?= Phase::getCurrentPhase() >= Phase::PHASE2 ? "disabled" : "" ?>>