forked from ScoDoc/DocScoDoc
cosmetic
This commit is contained in:
parent
11ef8857e2
commit
f79003186a
@ -96,7 +96,7 @@ _formsemestreEditor = ndb.EditableTable(
|
|||||||
def get_formsemestre(formsemestre_id):
|
def get_formsemestre(formsemestre_id):
|
||||||
"list ONE formsemestre"
|
"list ONE formsemestre"
|
||||||
if not isinstance(formsemestre_id, int):
|
if not isinstance(formsemestre_id, int):
|
||||||
raise ValueError()
|
raise ValueError("formsemestre_id must be an integer !")
|
||||||
try:
|
try:
|
||||||
sem = do_formsemestre_list(args={"formsemestre_id": formsemestre_id})[0]
|
sem = do_formsemestre_list(args={"formsemestre_id": formsemestre_id})[0]
|
||||||
return sem
|
return sem
|
||||||
|
@ -1395,7 +1395,7 @@ def graph_parcours(
|
|||||||
if len(edges[(src_id, dst_id)]) <= MAX_ETUD_IN_DESCR:
|
if len(edges[(src_id, dst_id)]) <= MAX_ETUD_IN_DESCR:
|
||||||
etud_descr = _descr_etud_set(edges[(src_id, dst_id)])
|
etud_descr = _descr_etud_set(edges[(src_id, dst_id)])
|
||||||
bubbles[src_id + ":" + dst_id] = etud_descr
|
bubbles[src_id + ":" + dst_id] = etud_descr
|
||||||
e.set_URL("__xxxetudlist__?" + src_id + ":" + dst_id)
|
e.set_URL(f"__xxxetudlist__?{src_id}:{dst_id}")
|
||||||
# Genere graphe
|
# Genere graphe
|
||||||
_, path = tempfile.mkstemp(".gr")
|
_, path = tempfile.mkstemp(".gr")
|
||||||
g.write(path=path, format=format)
|
g.write(path=path, format=format)
|
||||||
|
@ -27,6 +27,10 @@ h3 {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#gtrcontent {
|
||||||
|
margin-bottom: 4ex;
|
||||||
|
}
|
||||||
|
|
||||||
.scotext {
|
.scotext {
|
||||||
font-family : TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
|
font-family : TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
|
||||||
}
|
}
|
||||||
|
@ -1244,7 +1244,7 @@ def entreprise_edit(entreprise_id, start=1):
|
|||||||
H.append("</ul>")
|
H.append("</ul>")
|
||||||
return "\n".join(H) + entreprise_footer()
|
return "\n".join(H) + entreprise_footer()
|
||||||
elif tf[0] == -1:
|
elif tf[0] == -1:
|
||||||
return flask.redirect(scu.EntreprisesURL() + "?start=" + start)
|
return flask.redirect(scu.EntreprisesURL() + "?start=" + str(start))
|
||||||
else:
|
else:
|
||||||
sco_entreprises.do_entreprise_edit(tf[2])
|
sco_entreprises.do_entreprise_edit(tf[2])
|
||||||
return flask.redirect(scu.EntreprisesURL() + "?start=" + start)
|
return flask.redirect(scu.EntreprisesURL() + "?start=" + str(start))
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.0.41"
|
SCOVERSION = "9.0.42"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user