-
Notifications
You must be signed in to change notification settings - Fork 4
CTP-5307 Bug - output moderation link and data #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTP-5307 Bug - output moderation link and data #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds moderation link and data output to the marking interface, addressing bug CTP-5307. The changes enable display and interaction with moderation information in the grading report.
Key changes:
- Added new moderation section to the marking template with appropriate badges and links
- Implemented backend logic to retrieve and format moderation data for display
- Updated language string from "Add agreed feedback" to "Agree feedback" for consistency
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| templates/submissions/tr/marking.mustache | Added moderation section with data display and link, updated agreed mark formatting, changed button text |
| lang/en/coursework.php | Renamed language string key from 'add_agreed_feedback' to 'agree_feedback' |
| classes/renderers/grading_report_renderer.php | Added moderation data to table row data structure |
| classes/render_helpers/grading_report/data/marking_cell_data.php | Implemented get_moderation_data() method to fetch and format moderation information |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
classes/render_helpers/grading_report/data/marking_cell_data.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
https://ucldata.atlassian.net/browse/CTP-5307