0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 11:02:57 +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}} {{template "shared/user/avatarlink" dict "user" .Poster}}
<span class="text grey muted-links"> <span class="text grey muted-links">
{{template "shared/user/authorlink" .Poster}} {{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> </span>
</div> </div>
{{else if eq .Type 12}} {{else if eq .Type 12}}