Merge "Use avatarIcon instead of profile"

This commit is contained in:
jenkins-bot 2019-09-05 21:27:17 +00:00 committed by Gerrit Code Review
commit f095583cc8
2 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,8 @@ final class ProfileMenuEntry implements IProfileMenuEntry {
return [ [
'text' => $this->customProfileLabel ?? $username,
'href' => $this->customProfileURL ?? Title::newFromText( $username, NS_USER )->getLocalURL(),
'class' => MinervaUI::iconClass( 'profile', 'before', 'truncated-text primary-action' ),
'class' => MinervaUI::iconClass( 'userAvatar-base20',
'before', 'truncated-text primary-action', 'wikimedia' ),
'data-event-name' => 'menu.' . (
$this->profileTrackingCode ?? self::DEFAULT_PROFILE_TRACKING_CODE )
] ];

View file

@ -297,7 +297,7 @@
"useDataURI": false,
"defaultColor": "#54595d",
"class": "ResourceLoaderOOUIIconPackModule",
"icons": [ "search" ]
"icons": [ "search", "userAvatar" ]
},
"skins.minerva.icons.images": {
"class": "ResourceLoaderImageModule",
@ -326,7 +326,6 @@
"file": "resources/skins.minerva.icons.images/languageSwitcher.svg",
"variants": [ "base20" ]
},
"profile": "resources/skins.minerva.icons.images/profile.svg",
"clock": {
"file": "resources/skins.minerva.icons.images/clock.svg",
"variants": [ "invert" ]