aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/comments.tmpl
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2024-12-23 15:57:36 +0800
committerGitHub <noreply@github.com>2024-12-23 07:57:36 +0000
commit0c581106d28acc0f377f54189e11e5215db74ce6 (patch)
tree5359d7f963f8bd247a73100f9486e0d5ec7010d2 /templates/repo/issue/view_content/comments.tmpl
parente18e31d557c7ad6286e844205c841233d3bddc8a (diff)
downloadgitea-0c581106d28acc0f377f54189e11e5215db74ce6.tar.gz
gitea-0c581106d28acc0f377f54189e11e5215db74ce6.zip
Fix outdated tmpl code (#32953) (#32961)
Backport #32953 by wxiaoguang Some PRs were before tmpl ctx refactoring and used outdated code Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo/issue/view_content/comments.tmpl')
-rw-r--r--templates/repo/issue/view_content/comments.tmpl2
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 3f9af18027..9fdbf45939 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -693,7 +693,7 @@
{{else if eq .Type 38}}
<div class="timeline-item event" id="{{.HashTag}}">
<span class="badge">{{svg "octicon-clock"}}</span>
- {{template "shared/user/avatarlink" dict "Context" $.Context "user" .Poster}}
+ {{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="text grey muted-links">
{{template "shared/user/authorlink" .Poster}}
{{$timeStr := .Content|TimeEstimateString}}