mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	#2035 Show author e-mail in commit diff
This commit is contained in:
		@@ -14,7 +14,7 @@
 | 
			
		||||
			<div class="ui attached info segment">
 | 
			
		||||
				{{if .Author}}
 | 
			
		||||
					<img class="ui avatar image" src="{{.Author.AvatarLink}}" />
 | 
			
		||||
					<a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a>
 | 
			
		||||
					<a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a> {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}}
 | 
			
		||||
				{{else}}
 | 
			
		||||
					<img class="ui avatar image" src="{{AvatarLink .Commit.Author.Email}}" />
 | 
			
		||||
					<strong>{{.Commit.Author.Name}}</strong>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user