Problem/Motivation

When showing the role expiration field on a user's profile, the machine name of the role is shown instead of the "friendly" name. This can be hard to read, particularly if you have customized the machine name.

Steps to reproduce

Ensure that you are showing the role expiration field on user's profiles.
Create a role called "test role" (or use any existing role that is more than one word or doesn't have a matching machine name).
Assign the role to a user with an expiry.
View that user's profile page.
Note that the role displays the machine name ("Test_role", if you used that role) instead of the "friendly" name ("test role").

Proposed resolution

Display the "friendly" name instead of the machine name. A patch is incoming.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kpaxman created an issue. See original summary.

kpaxman’s picture

Issue summary: View changes

kpaxman’s picture

Status: Active » Needs review

I've created a merge request for this now.

kpaxman’s picture

Note that #3245828: Show all roles on profile, not just those that expire builds on this feature request.

rcodina’s picture

Status: Needs review » Fixed
rcodina’s picture

Status: Fixed » Closed (fixed)

Check out 2.0.2 version!