Skip to content

Commit d139e94

Browse files
committed
Add line-through for deleted branch comment
1 parent 7ce388f commit d139e94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@
231231
{{template "shared/user/avatarlink" dict "user" .Poster}}
232232
<span class="text grey muted-links">
233233
{{template "shared/user/authorlink" .Poster}}
234-
{{ctx.Locale.Tr "repo.issues.delete_branch_at" .OldRef $createdStr}}
234+
{{ $oldRef := HTMLFormat `<span class="tw-line-through">%s</span>` .OldRef }}
235+
{{ctx.Locale.Tr "repo.issues.delete_branch_at" $oldRef $createdStr}}
235236
</span>
236237
</div>
237238
{{else if eq .Type 12}}

0 commit comments

Comments
 (0)