diff --git a/polynum_blackboard/templates/old.html b/polynum_blackboard/templates/old.html index dee5605..8ffe3db 100644 --- a/polynum_blackboard/templates/old.html +++ b/polynum_blackboard/templates/old.html @@ -110,11 +110,12 @@ break; } } - var course_name = diplome.code+'_2012_'+ue.code+'_{{user.username}}'; + var course_name = ue.code+'_2012'; var group = $('#td-group').val(); if (group) { - course_name += '_' + group; + course_name += '_' + group; } + course_name += '_{% firstof user.get_full_name user.username %}'; $('#course-name').text(course_name); } MyCourseDelegate.old_selectItem = MyCourseDelegate.selectItem;