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:
parent
7ce388f740
commit
d139e94b0e
1 changed files with 2 additions and 1 deletions
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue