forked from ScoDoc/ScoDoc
Bulletin BUT: reprise du f5d0074 de la passerelle Scodoc_Notes
This commit is contained in:
parent
6f0b03242d
commit
a5c0619102
@ -16,6 +16,13 @@ class releveBUT extends HTMLElement {
|
||||
const styles = document.createElement('link');
|
||||
styles.setAttribute('rel', 'stylesheet');
|
||||
styles.setAttribute('href', '/ScoDoc/static/css/releve-but.css');
|
||||
/* variante "ScoDoc" ou "Passerelle" (ENT) ? */
|
||||
if (location.href.split("/")[3] == "ScoDoc") { /* un peu osé... */
|
||||
styles.setAttribute('href', '/ScoDoc/static/css/releve-but.css');
|
||||
} else {
|
||||
// Passerelle
|
||||
styles.setAttribute('href', '/assets/styles/releve-but.css');
|
||||
}
|
||||
this.shadow.appendChild(styles);
|
||||
}
|
||||
listeOnOff() {
|
||||
@ -78,7 +85,7 @@ class releveBUT extends HTMLElement {
|
||||
<div class=flex>
|
||||
<div class=infoSemestre></div>
|
||||
<div>
|
||||
<div class=decision>Validé !</div>
|
||||
<div class=decision></div>
|
||||
<div class=dateInscription>Inscrit le </div>
|
||||
<em>Les moyennes servent à situer l'étudiant dans la promotion et ne correspondent pas à des validations de compétences ou d'UE.</em>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user