Skip to content

Pass/fail conditional session course subscription - refs BT#22403 #6092

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

Merged
merged 4 commits into from
Feb 23, 2025

Conversation

AngelFQC
Copy link
Member

No description provided.

…ow displaying a text when the user has failed - refs BT#22403

Require database changes
```sql
ALTER TABLE c_quiz ADD text_when_finished_failure LONGTEXT DEFAULT NULL;
```

Then add the "@" symbol to the CQuiz class in the ORM\Column() line for its $textWhenFinishedFailure property.
…etting to allow subscribing a user a session when the user has failed - refs BT#22403
@ywarnier ywarnier merged commit 3e450b4 into chamilo:1.11.x Feb 23, 2025
3 of 4 checks passed
@ywarnier
Copy link
Member

Tested and approved.
The text appearing could benefit from some styling ('alert' if failed, 'success' if succeeded), but I see from the code that it would change the behaviour of where the styling is defined, which is not entirely desirable code-wise.

@AngelFQC AngelFQC deleted the BT22403 branch February 26, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants