0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 15:53:14 +01:00

Add line-through for deleted branch comment

This commit is contained in:
Lunny Xiao 2024-11-13 16:22:54 -08:00
parent 7ce388f740
commit d139e94b0e
No known key found for this signature in database
GPG key ID: C3B7C91B632F738A

View file

@ -231,7 +231,8 @@
{{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="text grey muted-links">
{{template "shared/user/authorlink" .Poster}}
{{ctx.Locale.Tr "repo.issues.delete_branch_at" .OldRef $createdStr}}
{{ $oldRef := HTMLFormat `<span class="tw-line-through">%s</span>` .OldRef }}
{{ctx.Locale.Tr "repo.issues.delete_branch_at" $oldRef $createdStr}}
</span>
</div>
{{else if eq .Type 12}}