Always use whole user name as link (#27815)
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:  
This commit is contained in:
		
					parent
					
						
							
								0e021cd33e
							
						
					
				
			
			
				commit
				
					
						e5f19dd317
					
				
			
		
					 1 changed files with 1 additions and 5 deletions
				
			
		| 
						 | 
					@ -1,5 +1 @@
 | 
				
			||||||
{{if .FullName}}
 | 
					<a class="text muted" href="{{.HomeLink}}">{{.Name}}{{if .FullName}} ({{.FullName}}){{end}}</a>
 | 
				
			||||||
	{{.FullName}} <span>(<a class="text primary" href="{{.HomeLink}}">{{.Name}}</a>)</span>
 | 
					 | 
				
			||||||
{{else}}
 | 
					 | 
				
			||||||
	<a class="text primary" href="{{.HomeLink}}">{{.Name}}</a>
 | 
					 | 
				
			||||||
{{end}}
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue