Course Relations
Filename
CourseRelations.tml
Display the courses description under related courses using the following code in the CourseRelations.tml file
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd" xmlns:p="tapestry:parameter">
<div class="relatedCourses">
<ul>
<t:loop source="courseRelations" value="relatedCourse">
<li><a href="/course/${relatedCourse.code}" rel="nofollow" target="_blank">${relatedCourse.name}</a></li>
${convertCustomText(relatedCourse.detail)}
</t:loop>
</ul>
</div>
</t:container>
Updated 6 months ago