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.
Issue fork role_expire-3245817
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:
- 2.x
compare
- 3245817-show-friendly-name
changes, plain diff MR !2
Comments
Comment #2
kpaxman commentedComment #4
kpaxman commentedI've created a merge request for this now.
Comment #5
kpaxman commentedNote that #3245828: Show all roles on profile, not just those that expire builds on this feature request.
Comment #7
rcodinaComment #8
rcodinaCheck out 2.0.2 version!