forked from ScoDoc/DocScoDoc
BUT: coef modules bonus non éditables
This commit is contained in:
parent
6fc5a1e285
commit
ede90c799d
@ -37,6 +37,7 @@ from flask import current_app, g, request
|
|||||||
from flask.templating import render_template
|
from flask.templating import render_template
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
from werkzeug.utils import redirect
|
from werkzeug.utils import redirect
|
||||||
|
from app.scodoc.sco_codes_parcours import UE_SPORT
|
||||||
|
|
||||||
from config import Config
|
from config import Config
|
||||||
|
|
||||||
@ -111,7 +112,7 @@ def table_modules_ue_coefs(formation_id, semestre_idx=None):
|
|||||||
"y": row,
|
"y": row,
|
||||||
"style": style,
|
"style": style,
|
||||||
"data": df[mod.id][ue.id] or "",
|
"data": df[mod.id][ue.id] or "",
|
||||||
"editable": True,
|
"editable": mod.ue.type != UE_SPORT,
|
||||||
"module_id": mod.id,
|
"module_id": mod.id,
|
||||||
"ue_id": ue.id,
|
"ue_id": ue.id,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user