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 10: | Line 10: | ||
<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> | ||
</ul> | </ul> | ||
<div class="tab-content"> | <div class="tab-content"> | ||
<div id="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="tab1Label"> | <div id="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="tab1Label"> | ||
<div class="alert alert-primary">'''Courses available in the upcoming school year.'''</div> | <div class="alert alert-primary">'''Courses available in the upcoming school year.'''</div> | ||
Line 52: | Line 50: | ||
<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> | ||
</ul> | </ul> | ||
<div class="tab-content"> | <div class="tab-content"> | ||
<div id="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="tab1Label"> | <div id="tab1" class="tab-pane fade show active" role="tabpanel" aria-labelledby="tab1Label"> | ||
<div class="alert alert-primary">'''Courses available in the upcoming school year.'''</div> | <div class="alert alert-primary">'''Courses available in the upcoming school year.'''</div> | ||
Line 70: | Line 66: | ||
<div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="tab2Label"> | <div id="tab2" class="tab-pane fade" role="tabpanel" aria-labelledby="tab2Label"> | ||
<div class="tip tip">'''Courses offered previously and not currently available.'''</div> | <div class="tip tip">'''Courses offered previously and not currently available.'''</div> | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Classes | tables=Classes |
Revision as of 13:26, 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