It would just be a paragraph with course highlights and entry requirements. Sorry in at the deep end here and learning as i go, so sorry if the below is looking bad. Seems our custom tokens are also not printing correctly.... so that is also messing things up.
#set( $course = $ccl1000_coursesubjectinterestList.get(0).uod_marketosubjectarea)
#set( $subjectarea = [
{
"text" : ["Nursing"],
"bio" : "Nursing text goes here"
},
{
"text" : ["Marketing"],
"bio" : "Marketing text goes here"
},
{
"text" : ["PE"],
"bio" : "PE text goes here"
},
{
"text" : ["Arts"],
"bio" : "Arts text goes here"
},
{
"text" : ["Accounting"],
"bio" : "accounting text goes here"
}
] )
#set( $defaultsubjectarea = {
"Bio" : "default text goes here"
} )
##
#foreach( $matchable in $subjectarea )
#if( $matchable.text.contains($course) )
#set( $subject = $matchable )
#break
#end
#end
#set( $subject = $display.alt($subject,$defaultsubjectarea) )
course 1: ${subject.bio}
... View more