mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
Add a 'this' to issue close/reopened messages (#11204)
* add a 'this' to issue close/reopened messages * add 'this issue/pull request' and create new localization entries Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
4468b0b2b2
commit
28e5e7fcbc
2 changed files with 14 additions and 4 deletions
|
@ -75,7 +75,11 @@
|
|||
</a>
|
||||
<span class="text grey">
|
||||
<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a>
|
||||
{{$.i18n.Tr "repo.issues.reopened_at" .EventTag $createdStr | Safe}}
|
||||
{{if .Issue.IsPull }}
|
||||
{{$.i18n.Tr "repo.pulls.reopened_at" .EventTag $createdStr | Safe}}
|
||||
{{else}}
|
||||
{{$.i18n.Tr "repo.issues.reopened_at" .EventTag $createdStr | Safe}}
|
||||
{{end}}
|
||||
</span>
|
||||
</div>
|
||||
{{else if eq .Type 2}}
|
||||
|
@ -86,7 +90,11 @@
|
|||
</a>
|
||||
<span class="text grey">
|
||||
<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a>
|
||||
{{$.i18n.Tr "repo.issues.closed_at" .EventTag $createdStr | Safe}}
|
||||
{{if .Issue.IsPull }}
|
||||
{{$.i18n.Tr "repo.pulls.closed_at" .EventTag $createdStr | Safe}}
|
||||
{{else}}
|
||||
{{$.i18n.Tr "repo.issues.closed_at" .EventTag $createdStr | Safe}}
|
||||
{{end}}
|
||||
</span>
|
||||
</div>
|
||||
{{else if eq .Type 28}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue