This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
forgejo
mirror of
Watch
1
Fork
You've already forked forgejo
0
Code
Issues
Releases
Activity
43df4755a3
forgejo
/
templates
/
shared
/
user
/
name.tmpl
2 lines
96 B
Go HTML Template
Raw
Normal View
History
Unescape
Escape
Always use whole user name as link (#27815) (#27838) Backport #27815 by @denyskon Starting from #25790 this shared template only linked the username of the user if both display name and username were shown. I experienced myself always trying to click on the display name - I think it is annoying for others too. After: ![grafik](https://github.com/go-gitea/gitea/assets/47871822/a0e82127-b773-4ca4-890f-d18422a7bef2) ![grafik](https://github.com/go-gitea/gitea/assets/47871822/79efcf93-2f50-4fc4-ba15-afc6174be48c) Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
2023-10-30 12:25:40 +01:00
<
a
class
=
"text muted"
href
=
"
{{
.HomeLink
}}
"
>
{{
.Name
}}{{
if
.FullName
}}
(
{{
.FullName
}}
)
{{
end
}}
</
a
>