Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
I vaguely remember seeing some CSS or JS trick to have a global icon only visible for a specific role, but I can't seem to find that thread anymore. Does anyone have info on this - either the trick itself or link to previous threads about this topic?
The use case is a link to our syllabus creation/guideline page, but only visible to our faculty and not to students.
We use a conditional statement in our JS to tailor links presented to the users course role; the global option stays the same for everyone. A pitfall to this is if a user is in the teacher role anywhere in the instance, links presented will always be what is curated for teachers. It seems to work well for us so far, though...
---
---
Thanks! Still testing, but it seemed to work for our use case!
To participate in the Instructure Community, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.