forked from ScoDoc/ScoDoc
doc
This commit is contained in:
parent
8086d75d34
commit
27c46b3993
@ -592,7 +592,12 @@ def _make_table_notes(
|
|||||||
if all_complete:
|
if all_complete:
|
||||||
eval_info = '<span class="eval_info eval_complete">Evaluations prises en compte dans les moyennes</span>'
|
eval_info = '<span class="eval_info eval_complete">Evaluations prises en compte dans les moyennes</span>'
|
||||||
else:
|
else:
|
||||||
eval_info = '<span class="eval_info help">Les évaluations en vert et orange sont prises en compte dans les moyennes. Celles en rouge n\'ont pas toutes leurs notes.</span>'
|
eval_info = """<span class="eval_info help">
|
||||||
|
Les évaluations en vert et orange sont prises en compte dans les moyennes.
|
||||||
|
Celles en rouge n'ont pas toutes leurs notes."""
|
||||||
|
if is_apc:
|
||||||
|
eval_info += " La moyenne indicative est la moyenne des moyennes d'UE, et n'est pas utilisée en BUT."
|
||||||
|
eval_info += """</span>"""
|
||||||
return html_form + eval_info + t + "<p></p>"
|
return html_form + eval_info + t + "<p></p>"
|
||||||
else:
|
else:
|
||||||
# Une seule evaluation: ajoute histogramme
|
# Une seule evaluation: ajoute histogramme
|
||||||
|
@ -43,6 +43,8 @@ def is_up_to_date() -> str:
|
|||||||
"""Check installed version vs last release.
|
"""Check installed version vs last release.
|
||||||
Returns html message, empty of ok.
|
Returns html message, empty of ok.
|
||||||
"""
|
"""
|
||||||
|
if current_app.testing or current_app.debug:
|
||||||
|
return "<div>Mode développement</div>"
|
||||||
diag = ""
|
diag = ""
|
||||||
try:
|
try:
|
||||||
response = requests.get(scu.SCO_UP2DATE + "/" + SCOVERSION)
|
response = requests.get(scu.SCO_UP2DATE + "/" + SCOVERSION)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.1.84"
|
SCOVERSION = "9.1.85"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user