kolibri
kolibri copied to clipboard
Copy on ContentUnavailablePage is not customized to different roles (and has minor English punctuation issue)
Observed behavior
From http://localhost:8000/en/learn/#/content-unavailable (viewing with my super admin account)

Link to code: https://github.com/learningequality/kolibri/blob/68f33c3f429f55c60af23d6752ba389a6ac20a0d/kolibri/plugins/learn/assets/src/views/ContentUnavailablePage.vue#L8
Issues:
- There is no comma after the subordinate clause "As an administrator" in the English localization of the link
- The "Please ask your coach or admin" is shown to users of all roles, when it should only be shown to learners.
- The URL is
content-unavailable, which might be a holdover when we used "Content" as the primary user-facing term for what is now called "resources"
Expected behavior
- In the English locale, there should comma after "As an administrator" (and if it changes the sense of any of the other localizations, those should be updated too)
- The
learnerTextmessage ("Please ask your coach") is hidden unless the user has the Learner role (and does not have the "can manage content role") - The URL for this page is something like
resources-unavailable
User-facing consequences
…
Errors and logs
…
Steps to reproduce
…
Context
…
Hi! I would like to work on this issue.