diff options
author | yp05327 <576951401@qq.com> | 2024-02-02 19:01:11 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:01:11 +0000 |
commit | 3aed8ae03475a430c0dc8e33f42fa9269a4844bd (patch) | |
tree | 62b7d27520a18538fc4aca8a6ead7aadf09f430c /templates/repo/issue/view_content/comments.tmpl | |
parent | a062725758b765cdedd1b02da5982c6fbfc5f702 (diff) | |
download | gitea-3aed8ae03475a430c0dc8e33f42fa9269a4844bd.tar.gz gitea-3aed8ae03475a430c0dc8e33f42fa9269a4844bd.zip |
Fix default avatar image size in PR diff page (#28971)
Fix #28941
ps: didn't test. The repo is too big to migrate.
Diffstat (limited to 'templates/repo/issue/view_content/comments.tmpl')
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index ad7b836e9c..ade0ea34cf 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -17,7 +17,7 @@ <div class="timeline-item comment" id="{{.HashTag}}"> {{if .OriginalAuthor}} <span class="timeline-avatar"> - <img src="{{AppSubUrl}}/assets/img/avatar_default.png" width="40" height="40"> + {{ctx.AvatarUtils.Avatar nil 40}} </span> {{else}} <a class="timeline-avatar"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}> |