Add a CTA to the unpublished lessons notice #7374
Labels
[Pri] Normal
Can wait for the next release
[Status] Triaged
Issue has been triaged
[Type] Enhancement
Milestone
Is your feature request related to a problem? Please describe
A notice is displayed on the frontend when previewing a course that contains no published lessons. This notice does not provide the user with next steps to take.
Note: There are actually two notices (see screenshots below). I don't know why we have notices, but I think we should be able to simplify down to a single notice.
Describe the solution you'd like
Update the notice to the following text, where clicking on "your lessons" takes the user to the Lessons page (
wp-admin/edit.php?post_type=lesson
) in WP admin, filtered by the current course and by Draft status.Nice-to-have: It would be nice to left-align the notice text. This isn't a mandatory requirement for this issue though. I imagine it will affect all notices (which is probably a good thing).
Additional context
Current Notice #1
Current Notice #2
Desired Notice
The text was updated successfully, but these errors were encountered: