Gestion aucun résultat uniquement pour étudiants
This commit is contained in:
parent
265d221496
commit
20e5329df5
|
@ -206,6 +206,11 @@ if( permission('admin') ){ // si on est admin
|
|||
echo "<table class='basic col4'>";
|
||||
echo "<tbody>";
|
||||
echo "<tr class='transparentbg noborder'><td colspan=4><strong>ÉTUDIANTS</strong></td></tr>";
|
||||
|
||||
// si aucun étudiant trouvé
|
||||
if( count($answerEtu->results) == 0 )
|
||||
echo "<tr><td colspan=4>Aucun étudiant trouvé</td></tr>";
|
||||
|
||||
foreach($answerEtu->results as $ETUDIANT){
|
||||
echo "<tr>";
|
||||
echo "<td><span class='link' data-etu='".$ETUDIANT['identifiant']."'>".$ETUDIANT['identifiant']."</span></td>";
|
||||
|
|
Loading…
Reference in New Issue