[ue.view] errors more explicit : missing teacher, wrong volume

This commit is contained in:
xdrm-brackets 2018-03-30 17:16:56 +02:00
parent 07ab742071
commit 7a1872a65a
1 changed files with 9 additions and 9 deletions

View File

@ -74,19 +74,19 @@
<!-- if VIEW MODE -->
<div class='table little'>
<div>
<span class='active reflow' :data-error='ue.nbrCours!=ue.nbrProfCours || ue.modCours != 0?1:0'>{{ ue.nbrCours }} CM</span>
<span v-show='ue.nbrCours!=ue.nbrProfCours' class='notlast user-icon reflow nospace' data-tooltip='enseignant(s) manquant(s)'></span>
<span v-show='ue.modCours != 0' class='notlast time-icon reflow nospace' data-tooltip='volume horaire incohérent'></span>
<span class='active reflow' :data-error='ue.nbrCours>ue.nbrProfCours || ue.modCours > 0?1:0'>{{ ue.nbrCours }} CM</span>
<span v-show='ue.nbrCours>ue.nbrProfCours' class='notlast user-icon reflow nospace' :data-tooltip='`${ue.nbrCours-ue.nbrProfCours} enseignant(s) manquant(s)`'></span>
<span v-show='ue.modCours > 0' class='notlast time-icon reflow nospace' :data-tooltip='`${ue.volumeCours-ue.modCours} à ajouter | ${ue.modCours} à enlever`'></span>
</div>
<div>
<span class='active reflow' :data-error='ue.nbrTD!=ue.nbrProfTD || ue.modTD != 0?1:0'>{{ ue.nbrTD }} TD</span>
<span v-show='ue.nbrTD!=ue.nbrProfTD' class='notlast user-icon reflow nospace' data-tooltip='enseignant(s) manquant(s)'></span>
<span v-show='ue.modTD != 0' class='notlast time-icon reflow nospace' data-tooltip='volume horaire incohérent'></span>
<span class='active reflow' :data-error='ue.nbrTD>ue.nbrProfTD || ue.modTD > 0?1:0'>{{ ue.nbrTD }} TD</span>
<span v-show='ue.nbrTD>ue.nbrProfTD' class='notlast user-icon reflow nospace' :data-tooltip='`${ue.nbrCours-ue.nbrProfCours} enseignant(s) manquant(s)`'></span>
<span v-show='ue.modTD > 0' class='notlast time-icon reflow nospace' :data-tooltip='`${ue.volumeTD-ue.modTD} à ajouter | ${ue.modTD} à enlever`'></span>
</div>
<div>
<span class='active reflow' :data-error='ue.nbrTP!=ue.nbrProfTP || ue.modTP != 0?1:0'>{{ ue.nbrTP }} TP</span>
<span v-show='ue.nbrTP!=ue.nbrProfTP' class='notlast user-icon reflow nospace' data-tooltip='enseignant(s) manquant(s)'></span>
<span v-show='ue.modTP != 0' class='notlast time-icon reflow nospace' data-tooltip='volume horaire incohérent'></span>
<span class='active reflow' :data-error='ue.nbrTP>ue.nbrProfTP || ue.modTP > 0?1:0'>{{ ue.nbrTP }} TP</span>
<span v-show='ue.nbrTP>ue.nbrProfTP' class='notlast user-icon reflow nospace' :data-tooltip='`${ue.nbrCours-ue.nbrProfCours} enseignant(s) manquant(s)`'></span>
<span v-show='ue.modTP > 0' class='notlast time-icon reflow nospace' :data-tooltip='`${ue.volumeTP-ue.modTP} à ajouter | ${ue.modTP} à enlever`'></span>
</div>
</div>