Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Create global and personal settings to hide user role labels

Open taybin opened this issue 10 years ago • 9 comments

Your Rocket.Chat version: 0.27.0 In a small group like mine, the user role labels are distracting and unnecessary. Is there a way to hide them?

taybin avatar Apr 19 '16 14:04 taybin

It looks like you can manually remove the labels in Admin->Permissions. https://github.com/RocketChat/Rocket.Chat/pull/2858#issuecomment-211884750

tmanternach avatar Apr 19 '16 14:04 tmanternach

Just ran into this too, it's true that you can workaround it for the time being by going to Admin->Permissions, clicking the edit button next to a user type (column headers) and deleting the Description field.

agentirons avatar Apr 19 '16 17:04 agentirons

There should IMHO be an option to switch these off globally - I was searching for exactly that after upgrading to 0.27.0

andreas-bulling avatar Apr 20 '16 05:04 andreas-bulling

+1 - the tags add clutter.

mylesw-luma avatar Apr 20 '16 05:04 mylesw-luma

As a workaround, adding .role-tag {display: none;} to your Administration > SETTINGS > Layout > Custom CSS will hide the tags.

jimt avatar Apr 20 '16 06:04 jimt

@jimt Brilliant! Do you mind creating a "Pro tips" section in our doc and adding this? It will be very useful for others for sure! TIA

PR against this would be appreciated:

https://github.com/RocketChat/Rocket.Chat.Docs/tree/master/6.%20Developer%20Guides

Sing-Li avatar Apr 20 '16 06:04 Sing-Li

+1 for adding this as a global setting and user setting

pescobar avatar Apr 24 '16 19:04 pescobar

As a workaround, adding .role-tag {display: none;} to your Administration > SETTINGS > Layout > Custom CSS will hide the tags.

Somehow this is still an issue where the setting doesn't work in Administration > SETTINGS > Layout > User Interface -> Display Roles (off). The updated CSS tag is rcx-message-header__roles based on 5.0.6.

Adding the below to Administration > SETTINGS > Layout > Custom CSS will remove the role tags in messages.

.rcx-message-header__roles { display: none !important; }

KyleK1782 avatar Sep 27 '22 16:09 KyleK1782

As a workaround, adding .role-tag {display: none;} to your Administration > SETTINGS > Layout > Custom CSS will hide the tags.

Somehow this is still an issue where the setting doesn't work in Administration > SETTINGS > Layout > User Interface -> Display Roles (off). The updated CSS tag is rcx-message-header__roles based on 5.0.6.

Adding the below to Administration > SETTINGS > Layout > Custom CSS will remove the role tags in messages.

.rcx-message-header__roles { display: none !important; }

Thx! Worked for me on 5.4.2 as well

PvUtrix avatar Jan 31 '23 19:01 PvUtrix