summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2021-05-21 17:03:27 +0000
committerGitHub <noreply@github.com>2021-05-21 13:03:27 -0400
commit35b0c8aa7d97f18431db1b9079bee8ad51faf2cb (patch)
treef4c3b3c082936fddb98daee3b870a4ea9586ab2e
parentd6d2444f2a097b94fbcc7e0be1b196406ba7d461 (diff)
downloadgitea-35b0c8aa7d97f18431db1b9079bee8ad51faf2cb.tar.gz
gitea-35b0c8aa7d97f18431db1b9079bee8ad51faf2cb.zip
fix default avatar url (#15938)
-rw-r--r--templates/repo/diff/comments.tmpl2
-rw-r--r--templates/repo/issue/view_content.tmpl2
-rw-r--r--templates/repo/issue/view_content/comments.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl
index 6e39fbe854..c55da8576e 100644
--- a/templates/repo/diff/comments.tmpl
+++ b/templates/repo/diff/comments.tmpl
@@ -3,7 +3,7 @@
{{ $createdStr:= TimeSinceUnix .CreatedUnix $.root.Lang }}
<div class="comment" id="{{.HashTag}}">
{{if .OriginalAuthor }}
- <span class="avatar"><img src="{{AppSubUrl}}/img/avatar_default.png"></span>
+ <span class="avatar"><img src="{{AppSubUrl}}/assets/img/avatar_default.png"></span>
{{else}}
<a class="avatar" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>
{{avatar .Poster}}
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index e353d71ee9..35c7cdd7a2 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -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="{{AppSubUrl}}/img/avatar_default.png"></span>
+ <span class="timeline-avatar"><img src="{{AppSubUrl}}/assets/img/avatar_default.png"></span>
{{else}}
<a class="timeline-avatar" {{if gt .Issue.Poster.ID 0}}href="{{.Issue.Poster.HomeLink}}"{{end}}>
{{avatar .Issue.Poster}}
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index e02f3ddc89..77757207cf 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -13,7 +13,7 @@
{{if eq .Type 0}}
<div class="timeline-item comment" id="{{.HashTag}}">
{{if .OriginalAuthor }}
- <span class="timeline-avatar"><img src="{{AppSubUrl}}/img/avatar_default.png"></span>
+ <span class="timeline-avatar"><img src="{{AppSubUrl}}/assets/img/avatar_default.png"></span>
{{else}}
<a class="timeline-avatar" {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>
{{avatar .Poster}}