Skip to content
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-4088 Marker view #12

Merged
merged 27 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions block_my_feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,6 @@ public function duedate_in_range(int $duedate): ?int {
* Return users 5 most recent feedbacks.
* @param stdClass $user
* @return array feedback items.
* @throws coding_exception
* @throws dml_exception
* @throws moodle_exception
*/
public function fetch_feedback($user): ?array {
global $DB;
Expand Down
2 changes: 1 addition & 1 deletion lang/en/block_my_feedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
$string['pluginname'] = 'My feedback';
$string['privacy:metadata'] = 'My Feedback does not store any personal data.';
$string['t:due'] = "Due";
$string['t:requiremarking'] = "require marking";
$string['t:needmarking'] = "need marking";

2 changes: 1 addition & 1 deletion templates/content.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</div>

<div class='text-right'>
<small>{{requiremarking}} {{#str}} t:requiremarking, block_my_feedback {{/str}}</small>
<small><a href="{{{markingurl}}}">{{requiremarking}} {{#str}} t:needmarking, block_my_feedback {{/str}}</a></small>
stuartlamour marked this conversation as resolved.
Show resolved Hide resolved
</div>
<hr>
{{/marking}}
Expand Down