Skip to content

fix: this checks that the course has an end date before rendering cer… - #82

Merged
andrey-canon merged 1 commit into
open-release/verawood.nelpfrom
and/FUTUREX-1524
Aug 20, 2026
Merged

fix: this checks that the course has an end date before rendering cer…#82
andrey-canon merged 1 commit into
open-release/verawood.nelpfrom
and/FUTUREX-1524

Conversation

@andrey-canon

Copy link
Copy Markdown
Collaborator

Description

This adds a new condition that limits the certificate status message based on the end date.
Issue # 1524
Migration pr of #65

How to test

To replicate this issue, the response from {lms_host}/api/course_home/progress/{course_id} must contain "certificate_data": null. If your course is new, you only need to set a valid user mode, and that’s enough.

  1. Ensure that your user has a valid certificate mode (e.g., honor). You can change this in the admin panel.
  2. Go to your test course and then open the Progress tab.
  3. Check out this branch.
  4. Verify that the message has disappeared.

Before

image

After

image

@andrey-canon
andrey-canon merged commit d8ab686 into open-release/verawood.nelp Aug 20, 2026
4 checks passed
@andrey-canon
andrey-canon deployed to open-release/verawood.nelp August 20, 2026 15:20 — with GitHub Actions Active
@andrey-canon
andrey-canon deployed to open-release/verawood.nelp August 20, 2026 15:20 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants