Template: TeacherClasses: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 44: Line 44:
==Capstones==
==Capstones==
<div class="card-columns">{{CapstoneTeacherFilter}}</div>}}
<div class="card-columns">{{CapstoneTeacherFilter}}</div>}}
</noinclude><includeonly>
</noinclude><includeonly>{{#tweekihide: sidebar-right}}<ul class="nav nav-tabs">
{{#tweekihide: sidebar-right}}
<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>

Revision as of 13:29, 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