Skip to content

Fix: Design in student my quiz attempts and added new icons#2697

Merged
shewa12 merged 9 commits into
4.0.0-devfrom
student_quiz_issues
May 13, 2026
Merged

Fix: Design in student my quiz attempts and added new icons#2697
shewa12 merged 9 commits into
4.0.0-devfrom
student_quiz_issues

Conversation

@Anindra123
Copy link
Copy Markdown
Collaborator

  • Added details button in student quiz attempts list view and removed see details link
  • Fix : Showing "No attempts found" alert even if all correct answer provided
  • Updated : Quiz summary info , added two field total attempts and earned grades

@Anindra123 Anindra123 added the 4.0.0 Tutor v4.w0w label May 12, 2026
if ( $quiz_attempt ) {
$earned_marks = (float) $quiz_attempt->earned_marks;
$total = (float) $total_marks;
$earned_marks = round( ( $earned_marks / $total_marks ) * 100 );
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using round?

Comment thread templates/learning-area/quiz/content.php
Copy link
Copy Markdown
Collaborator

@shewa12 shewa12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the comments

@shewa12 shewa12 merged commit fb58e83 into 4.0.0-dev May 13, 2026
10 of 13 checks passed
@Anindra123 Anindra123 deleted the student_quiz_issues branch May 13, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.0 Tutor v4.w0w

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants