1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix outdated tmpl code (#32953)

Some PRs were before tmpl ctx refactoring and used outdated code
This commit is contained in:
wxiaoguang
2024-12-23 11:21:11 +08:00
committed by GitHub
parent 462ce31530
commit 89f31f79fd
2 changed files with 2 additions and 2 deletions

View File

@@ -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}}