diff --git a/app/static/js/bulletin-but.js b/app/static/js/bulletin-but.js
index 8da7d7216..f768f41ba 100644
--- a/app/static/js/bulletin-but.js
+++ b/app/static/js/bulletin-but.js
@@ -51,20 +51,20 @@ function showData(data) {
/* Informations sur l'étudiant */
/********************************/
function showInformations(data) {
- document.querySelector(".studentPic").src = data.etudiant.photo_url || "default_Student.svg";
+ document.querySelector(".studentPic").src = data.etudiant.photo_url || "default_Student.svg";
- let output = `
+ let output = `
${civilite(data.etudiant.civilite)}
${data.etudiant.nom}
${data.etudiant.prenom}`;
- if(data.etudiant.date_naissance){
- output += `né${(data.etudiant.civilite == "F") ? "e" : ""} le ${ISOToDate(data.etudiant.date_naissance)}`;
- }
+ if (data.etudiant.date_naissance) {
+ output += `né${(data.etudiant.civilite == "F") ? "e" : ""} le ${ISOToDate(data.etudiant.date_naissance)}`;
+ }
- output += `
+ output += `
Numéro étudiant : ${data.etudiant.code_nip}
@@ -75,7 +75,7 @@ function showInformations(data) {
`;
- document.querySelector(".infoEtudiant").innerHTML = output;
+ document.querySelector(".infoEtudiant").innerHTML = output;
}
/*******************************/