feat: add teacher organization name to frontend rendering#1177
Merged
bcordis merged 1 commit intodevelopmentfrom Mar 19, 2026
Merged
feat: add teacher organization name to frontend rendering#1177bcordis merged 1 commit intodevelopmentfrom
bcordis merged 1 commit intodevelopmentfrom
Conversation
Expose org_name on frontend views via Layout Editor and template codes:
- Add org_name to teacher query in Cwmpagebuilder
- Add teacherorgname element rendering in Cwmlisting
- Add Layout Editor fields for ts/td contexts in template.xml
- Add {{teacherorgname}} template code variable
Closes #1172
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Exposes the teacher
org_namefield on frontend views so visitors can see the organization, not just schema.org crawlers.Changes
org_nameto teacher query SELECT (aliased asteacherorgname)teacherorgnameto standard params, rendering case, and{{teacherorgname}}template code substitutionts(teacher list) andtd(teacher detail) contexts{{teacherorgname}}to template code pickerDisplay locations
{{teacherorgname}}available in custom template text fieldsTest plan
{{teacherorgname}}in a custom template field → substitutes correctlyCloses #1172
🤖 Generated with Claude Code