#if ($hasScore || $hasPassed)

$r.translate("score.title")

#if ($hasScore) #end #if ($hasPassed) #end
$r.translate("calcedscore"): #if($scoreScore) $scoreScore #else $r.translate("score.noinfo") #end
$r.translate("calcedpassed"): #if ($hasPassedValue && $scorePassed == true) $r.translate("passed.yes") #elseif($hasPassedValue && $scorePassed == false) $r.translate("passed.no") #else $r.translate("passed.noinfo") #end
#end #if ($children.size() > 0) #if ($layoutType == "o_course_run_toc_one_column")
#foreach($coursenode in $children) $r.render("childView_${coursenode.getIdent()}") #end
#else
#foreach($coursenode in $children) ## Build a 2-column subcolumn layout for every row except for the last item ## if we have an uneven number of items. In this case use the full width. #if ($velocityCount == $children.size() && ($velocityCount % 2 == 1)) $r.render("childView_${coursenode.getIdent()}") #else #if ($velocityCount % 2 == 1) #set ($align = "l")
#else #set ($align = "r") #end
$r.render("childView_${coursenode.getIdent()}")
#if ($velocityCount % 2 == 0 || $velocityCount == $children.size())
#end #end #end
#end #end ## Scroll to position 0,0 first to fix jump which is expected by users and otherwhise does not happen in ajax mode (OLAT-3387) ## Add event JS event listeners for click and keydown events on all the gotonodes links