Skip to content

Hide information for blocked user in popover

Eduardo Sanz García requested to merge eduardosanz/popover-blocked-users into master

What does this MR do and why?

For blocked users the popover showed some information about the user. With these changes, that information is hidden and instead a User is blocked sentence is displayed.

Notice that the User is blocked is also displayed for the blocked user himself.

Housekeeping: I have moved a few internationalisation strings to constants.

Closes #356432 (closed)

Screenshots or screen recordings

###Before

image

After

image

How to set up and validate locally

  1. As an admin, block user Ian Upton: https://gdk.test:3443/admin/users/deanne_bruen
  2. Go to this issue https://gdk.test:3443/flightjs/Flight/-/issues/12
  3. Move the mouse over the name Ian Upton to see the updated popover

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eduardo Sanz García

Merge request reports

Loading