michael-milette / moodle-filter_filtercodes

FilterCodes filter for Moodle enables content creators to easily customize and personalize course and site content using plain text tags (no HTML). For premium support, contact us at https://www.tngconsulting.ca/contact
https://moodle.org/plugins/filter_filtercodes
GNU General Public License v3.0
30 stars 42 forks source link

Feature Request: Language for what displays for {mycoursescards id} when user is not enrolled in a course in the category #284

Open carlicockrell opened 6 months ago

carlicockrell commented 6 months ago

Prerequisites

Feature Request - The User Story

I am using {mycoursescards id} to create multiple blocks that separate the enrolled courses by category. When a user is not enrolled in a course for the category, example: {mycoursescards 19}, it displays {mycoursescards 19} to the user instead of something like "You are not enrolled in courses in this category."

When using a single category ID, is it possible to have a logic that if no cards display, a statement about not having any enrollments does appear?

Screenshots / Mock-ups

Screenshot 2023-12-20 155653

Alterative you have considered

No response

Additional information

No response

Planning on submitting a solution in a pull request (PR)?

No

Code of Conduct