Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalorg
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalorg
Merge requests
!127
Issue
#3307657
: User profiles: Add usernames beneath mentor pictures in sidebar
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Issue
#3307657
: User profiles: Add usernames beneath mentor pictures in sidebar
issue/drupalorg-3307657:3307657-user-profiles-add
into
7.x-3.x
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Issue #3307657: User profiles: Add usernames beneath mentor pictures in sidebar
Caleb Crawley
requested to merge
issue/drupalorg-3307657:3307657-user-profiles-add
into
7.x-3.x
Sep 28, 2022
Overview
0
Commits
2
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
7.x-3.x
version 4
e3d9cf2c
Apr 28, 2023
version 3
d5e0455a
Apr 28, 2023
version 2
b9804e92
Sep 30, 2022
version 1
52d96d2a
Sep 28, 2022
7.x-3.x (base)
and
latest version
latest version
c555ae3c
2 commits,
Apr 28, 2023
version 4
e3d9cf2c
2 commits,
Apr 28, 2023
version 3
d5e0455a
1 commit,
Apr 28, 2023
version 2
b9804e92
5 commits,
Sep 30, 2022
version 1
52d96d2a
4 commits,
Sep 28, 2022
1 file
+
8
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
drupalorg/drupalorg.module
+
8
−
8
View file @ c555ae3c
Edit in single-file editor
Open in Web IDE
Show full file
@@ -7591,17 +7591,17 @@ function drupalorg_field_formatter_view($entity_type, $entity, $field, $instance
if
(
isset
(
$filepath
))
{
$username
=
format_username
(
$account
);
$element
[
$delta
]
=
array
(
'#markup'
=>
l
(
theme
(
'image_style'
,
array
(
$element
[
$delta
]
=
[
'#markup'
=>
l
(
theme
(
'image_style'
,
[
'style_name'
=>
'drupalorg_user_picture_large'
,
'path'
=>
$filepath
,
'alt'
=>
t
(
'@user’s picture'
,
array
(
'@user'
=>
$username
)
),
)
),
'user/'
.
$account
->
uid
,
array
(
'attributes'
=>
array
(
'title'
=>
t
(
'View @user’s profile.'
,
array
(
'@user'
=>
$username
)
),
'class'
=>
array
(
'picture'
)
,
)
,
'alt'
=>
t
(
'@user’s picture'
,
[
'@user'
=>
$username
]
),
])
.
check_plain
(
$username
),
'user/'
.
$account
->
uid
,
[
'attributes'
=>
[
'title'
=>
t
(
'View @user’s profile.'
,
[
'@user'
=>
$username
]
),
'class'
=>
[
'picture'
]
,
]
,
'html'
=>
TRUE
,
)))
;
])]
;
}
}
Loading