Commit 87e75363 authored by PabloLeCrapaud's avatar PabloLeCrapaud
Browse files

Merge branch 'public-dev' into dev

parents 7634f8fc de968f55
......@@ -738,10 +738,15 @@ function translate_cours_pl_from_json(d, result) {
}
// pre-process supplementary tutors
d.tutors = d.course.supp_tutor.map(function(st) {
return st.username ;
});
if (department_settings.mode.cosmo==0) {
// pre-process supplementary tutors
d.tutors = d.course.supp_tutor.map(function (st) {
return st.username;
});
}
else{
d.tutors=[];
}
// pre-process colors
d.color_bg = 'white' ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment