mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
custom avatar upload
This commit is contained in:
@@ -30,10 +30,11 @@
|
||||
</ul>
|
||||
</span>
|
||||
<p class="author">
|
||||
<img class="avatar-30" src="{{AvatarLink .Commit.Author.Email}}" />
|
||||
{{if .Author}}
|
||||
<a href="{{AppSubUrl}}/{{.Author}}"><strong>{{.Commit.Author.Name}}</strong></a>
|
||||
<img class="avatar-30" src="{{.Author.AvatarLink}}" />
|
||||
<a href="{{AppSubUrl}}/{{.Author.Name}}"><strong>{{.Commit.Author.Name}}</strong></a>
|
||||
{{else}}
|
||||
<img class="avatar-30" src="{{AvatarLink .Commit.Author.Email}}" />
|
||||
<strong>{{.Commit.Author.Name}}</strong>
|
||||
{{end}}
|
||||
<span class="text-grey" id="authored-time">{{TimeSince .Commit.Author.When $.Lang}}</span>
|
||||
|
Reference in New Issue
Block a user