Class Grouping
Filename
GroupedCourseClassesList.tml
Renders list of classes grouped by site.
To display a list of classes grouped by site using following piece of the code in CourseItem.tml, you need to replace:
<t:loop source="courseItemModel.availableClasses" value="courseClass">
<span t:type="ui/courseclassitem" courseClass="courseClass" linkToLocationsMap="linkToLocationsMap" isList="isList" allowByAplication="allowByAplication" feeOverride="feeOverride"/>
</t:loop>
with
<span t:type="ui/groupedCourseClassesList" courseClasses="courseItemModel.availableClasses" linkToLocationsMap="linkToLocationsMap" isList="isList" allowByAplication="allowByAplication" feeOverride="feeOverride" />
Classes that have no site assigned will be displayed last in a group called "Venue TBA".
Updated 6 months ago