forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -110,17 +110,20 @@ def show_etud(deca: DecisionsProposeesAnnee, read_only: bool = True) -> str:
|
|||||||
)
|
)
|
||||||
ue_impair, ue_pair = rcue.ue_1, rcue.ue_2
|
ue_impair, ue_pair = rcue.ue_1, rcue.ue_2
|
||||||
# Les UEs à afficher : on regarde si read only et si dispense (non ré-inscription à l'UE)
|
# Les UEs à afficher : on regarde si read only et si dispense (non ré-inscription à l'UE)
|
||||||
|
# tuples (UniteEns, read_only, dispense)
|
||||||
ues_ro_dispense = [
|
ues_ro_dispense = [
|
||||||
(
|
(
|
||||||
ue_impair,
|
ue_impair,
|
||||||
rcue.ue_cur_impair is None,
|
rcue.ue_cur_impair is None,
|
||||||
deca.res_impair
|
deca.res_impair
|
||||||
|
and ue_impair
|
||||||
and (deca.etud.id, ue_impair.id) in deca.res_impair.dispense_ues,
|
and (deca.etud.id, ue_impair.id) in deca.res_impair.dispense_ues,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
ue_pair,
|
ue_pair,
|
||||||
rcue.ue_cur_pair is None,
|
rcue.ue_cur_pair is None,
|
||||||
deca.res_pair
|
deca.res_pair
|
||||||
|
and ue_pair
|
||||||
and (deca.etud.id, ue_pair.id) in deca.res_pair.dispense_ues,
|
and (deca.etud.id, ue_pair.id) in deca.res_pair.dispense_ues,
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.6.955"
|
SCOVERSION = "9.6.956"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user