0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-07-02 00:31:29 +02:00
This commit is contained in:
Lunny Xiao 2026-05-16 14:05:51 -07:00
parent 71cb6e0f19
commit efed07ac60
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -144,7 +144,7 @@
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="comment-text-line">
{{if eq .RefAction 3}}<del>{{end}}
{{template "repo/issue/view_content/comments_authorlink" dict "Repository" $.Repository "comment" .}}
{{template "repo/issue/view_content/comments_authorlink" dict "comment" .}}
{{ctx.Locale.Tr $refTr .EventTag $createdStr (.RefCommentLink ctx) $refFrom}}
{{if eq .RefAction 3}}</del>{{end}}
</span>
@ -158,7 +158,7 @@
<span class="badge">{{svg "octicon-bookmark"}}</span>
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="comment-text-line">
{{template "repo/issue/view_content/comments_authorlink" dict "Repository" $.Repository "comment" .}}
{{template "repo/issue/view_content/comments_authorlink" dict "comment" .}}
{{ctx.Locale.Tr "repo.issues.commit_ref_at" .EventTag $createdStr}}
</span>
<div class="detail flex-text-block">
@ -173,7 +173,7 @@
<span class="badge">{{svg "octicon-tag"}}</span>
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="comment-text-line">
{{template "repo/issue/view_content/comments_authorlink" dict "Repository" $.Repository "comment" .}}
{{template "repo/issue/view_content/comments_authorlink" dict "comment" .}}
{{if and .AddedLabels (not .RemovedLabels)}}
{{ctx.Locale.TrN (len .AddedLabels) "repo.issues.add_label" "repo.issues.add_labels" (ctx.RenderUtils.RenderLabels .AddedLabels $.RepoLink .Issue) $createdStr}}
{{else if and (not .AddedLabels) .RemovedLabels}}
@ -590,7 +590,7 @@
<span class="badge">{{svg "octicon-project"}}</span>
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="comment-text-line">
{{template "repo/issue/view_content/comments_authorlink" dict "Repository" $.Repository "comment" .}}
{{template "repo/issue/view_content/comments_authorlink" dict "comment" .}}
{{$newProjectDisplay := .CommentMetaData.ProjectTitle}}
{{if .Project}}
{{$trKey := printf "projects.type-%d.display_name" .Project.Type}}