diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-22 20:01:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 20:01:38 +0800 |
commit | ce25881c880d9711f211be05f92a809304a436e3 (patch) | |
tree | 9239c155c8276761de6639fd19b0a56e87eedde5 /templates/repo/diff | |
parent | 7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (diff) |
refactor(db): move some methods off `user.go` (#7199)
Diffstat (limited to 'templates/repo/diff')
-rw-r--r-- | templates/repo/diff/page.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl index 53a2c4eb..7bc16753 100644 --- a/templates/repo/diff/page.tmpl +++ b/templates/repo/diff/page.tmpl @@ -15,8 +15,8 @@ </div> <div class="ui attached info segment"> {{if .Author}} - <img class="ui avatar image" src="{{.Author.RelAvatarLink}}" /> - <a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a> {{if .IsLogged}}<{{.Commit.Author.Email}}>{{end}} + <img class="ui avatar image" src="{{.Author.AvatarURLPath}}" /> + <a href="{{.Author.HomeURLPath}}"><strong>{{.Commit.Author.Name}}</strong></a> {{if .IsLogged}}<{{.Commit.Author.Email}}>{{end}} {{else}} <img class="ui avatar image" src="{{AvatarLink .Commit.Author.Email}}" /> <strong>{{.Commit.Author.Name}}</strong> |