[Accounts] Hide "remove/report avatar" link when avatars are disabled

Problem statement:

When the Canvas Account settings has "User avatars" no enabled (not ticked), avatars are not displayed in user profiles. However, a link to remove/report avatars remains under where the avatar picture would be despite there being no avatar displaying. This is confusing to end users as it is unclear what exactly they would be reporting if they selected this link. Whilst the link can be hidden with custom CSS, this approach is not idea as HTML IDs or page layouts may change in the future and break such custom CSS.

Proposed solution:

When displaying profile pages, the system should check the Account settings the course belongs to and use the "User avatars" setting to conditionally display the "remove/report avatar" link rather than always displaying it regardless of this setting.

User role(s):

admin,instructor,student,ta,designer

1 Comment
nathanatkinson
Community Team
Community Team
Status changed to: Open