mirror of https://github.com/go-gitea/gitea.git
Backport #15341 Fix #15334 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
ef2cb41dc3
commit
223dddb29e
|
@ -3,7 +3,7 @@
|
|||
{{ $createdStr:= TimeSinceUnix .CreatedUnix $.root.Lang }}
|
||||
<div class="comment" id="{{.HashTag}}">
|
||||
{{if .OriginalAuthor }}
|
||||
<span class="avatar"><img src="/img/avatar_default.png"></span>
|
||||
<span class="avatar"><img src="{{AppSubUrl}}/img/avatar_default.png"></span>
|
||||
{{else}}
|
||||
<a class="avatar" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>
|
||||
<img src="{{.Poster.RelAvatarLink}}">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<ui class="ui timeline">
|
||||
<div id="{{.Issue.HashTag}}" class="timeline-item comment first">
|
||||
{{if .Issue.OriginalAuthor }}
|
||||
<span class="timeline-avatar"><img src="/img/avatar_default.png"></span>
|
||||
<span class="timeline-avatar"><img src="{{AppSubUrl}}/img/avatar_default.png"></span>
|
||||
{{else}}
|
||||
<a class="timeline-avatar" {{if gt .Issue.Poster.ID 0}}href="{{.Issue.Poster.HomeLink}}"{{end}}>
|
||||
<img src="{{.Issue.Poster.RelAvatarLink}}">
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{{if eq .Type 0}}
|
||||
<div class="timeline-item comment" id="{{.HashTag}}">
|
||||
{{if .OriginalAuthor }}
|
||||
<span class="timeline-avatar"><img src="/img/avatar_default.png"></span>
|
||||
<span class="timeline-avatar"><img src="{{AppSubUrl}}/img/avatar_default.png"></span>
|
||||
{{else}}
|
||||
<a class="timeline-avatar" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>
|
||||
<img src="{{.Poster.RelAvatarLink}}">
|
||||
|
|
Loading…
Reference in New Issue