mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00:00
Fix default avatar image size in PR diff page (#28971)
Fix #28941 ps: didn't test. The repo is too big to migrate.
This commit is contained in:
parent
a062725758
commit
3aed8ae034
4 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
<div id="{{.Issue.HashTag}}" class="timeline-item comment first">
|
||||
{{if .Issue.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 .Issue.Poster.ID 0}}href="{{.Issue.Poster.HomeLink}}"{{end}}>
|
||||
|
|
|
@ -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}}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue