mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 03:10:20 +00:00 
			
		
		
		
	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:   Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
This commit is contained in:
		@@ -1,5 +1 @@
 | 
			
		||||
{{if .FullName}}
 | 
			
		||||
	{{.FullName}} <span>(<a class="text primary" href="{{.HomeLink}}">{{.Name}}</a>)</span>
 | 
			
		||||
{{else}}
 | 
			
		||||
	<a class="text primary" href="{{.HomeLink}}">{{.Name}}</a>
 | 
			
		||||
{{end}}
 | 
			
		||||
<a class="text muted" href="{{.HomeLink}}">{{.Name}}{{if .FullName}} ({{.FullName}}){{end}}</a>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user