Template: TeacherClasses: Difference between revisions
From TSAS Library
JStallings (talk | contribs) No edit summary Tag: Reverted |
JStallings (talk | contribs) No edit summary Tag: Reverted |
||
Line 6: | Line 6: | ||
Which yields the following for teacher [[Kelly Foshee]]: | Which yields the following for teacher [[Kelly Foshee]]: | ||
<ul class="nav nav-tabs"> | <div><ul class="nav nav-tabs"> | ||
<li class="nav-item"><btn id="tab1Label" data-toggle="tab" class="nav-link active" role="tab" aria-controls="tab1" aria-selected="true">#tab1|Currently Available</btn></li> | <li class="nav-item"><btn id="tab1Label" data-toggle="tab" class="nav-link active" role="tab" aria-controls="tab1" aria-selected="true">#tab1|Currently Available</btn></li> | ||
<li><btn id="btn2Label" data-toggle="tab" class="nav-link" role="tab" aria-controls="tab2" aria-selected="false">#tab2|Currently Unavailable</btn></li> | <li><btn id="btn2Label" data-toggle="tab" class="nav-link" role="tab" aria-controls="tab2" aria-selected="false">#tab2|Currently Unavailable</btn></li> | ||
Line 40: | Line 40: | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | |||
{{#if:{{CapstoneTeacherFilter|}}| | {{#if:{{CapstoneTeacherFilter|}}| | ||
==Capstones== | ==Capstones== |
Revision as of 13:31, 20 February 2022
This is the 'TeacherClasses' template. It pulls from the table Classes and filters by pagename for teacher, using Template:ClassDisplay to format. Because "Classes.Teacher" is not an included field, it is not displayed. It should be called in the following format:
{{TeacherClasses}}
Which yields the following for teacher Kelly Foshee:
Courses available in the upcoming school year.
Error: operator for the virtual field 'Classes.Teacher' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.
Courses offered previously and not currently available.
Error: operator for the virtual field 'Classes.Teacher' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.
Capstones
No results