File tree 2 files changed +14
-4
lines changed
templates/repo/issue/view_content 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -935,8 +935,8 @@ issues.close_comment_issue = Comment and Close
935
935
issues.reopen_issue = Reopen
936
936
issues.reopen_comment_issue = Comment and Reopen
937
937
issues.create_comment = Comment
938
- issues.closed_at = `closed <a id="%[1]s" href="#%[1]s">%[2]s</a>`
939
- issues.reopened_at = `reopened <a id="%[1]s" href="#%[1]s">%[2]s</a>`
938
+ issues.closed_at = `closed this issue <a id="%[1]s" href="#%[1]s">%[2]s</a>`
939
+ issues.reopened_at = `reopened this issue <a id="%[1]s" href="#%[1]s">%[2]s</a>`
940
940
issues.commit_ref_at = `referenced this issue from a commit <a id="%[1]s" href="#%[1]s">%[2]s</a>`
941
941
issues.ref_issue_from = `<a href="%[3]s">referenced this issue %[4]s</a> <a id="%[1]s" href="#%[1]s">%[2]s</a>`
942
942
issues.ref_pull_from = `<a href="%[3]s">referenced this pull request %[4]s</a> <a id="%[1]s" href="#%[1]s">%[2]s</a>`
@@ -1152,6 +1152,8 @@ pulls.update_branch = Update branch
1152
1152
pulls.update_branch_success = Branch update was successful
1153
1153
pulls.update_not_allowed = You are not allowed to update branch
1154
1154
pulls.outdated_with_base_branch = This branch is out-of-date with the base branch
1155
+ pulls.closed_at = `closed this pull request <a id="%[1]s" href="#%[1]s">%[2]s</a>`
1156
+ pulls.reopened_at = `reopened this pull request <a id="%[1]s" href="#%[1]s">%[2]s</a>`
1155
1157
1156
1158
milestones.new = New Milestone
1157
1159
milestones.open_tab = %d Open
Original file line number Diff line number Diff line change 75
75
</a>
76
76
<span class="text grey">
77
77
<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a>
78
- {{$.i18n.Tr "repo.issues.reopened_at" .EventTag $createdStr | Safe}}
78
+ {{if .Issue.IsPull }}
79
+ {{$.i18n.Tr "repo.pulls.reopened_at" .EventTag $createdStr | Safe}}
80
+ {{else}}
81
+ {{$.i18n.Tr "repo.issues.reopened_at" .EventTag $createdStr | Safe}}
82
+ {{end}}
79
83
</span>
80
84
</div>
81
85
{{else if eq .Type 2}}
86
90
</a>
87
91
<span class="text grey">
88
92
<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a>
89
- {{$.i18n.Tr "repo.issues.closed_at" .EventTag $createdStr | Safe}}
93
+ {{if .Issue.IsPull }}
94
+ {{$.i18n.Tr "repo.pulls.closed_at" .EventTag $createdStr | Safe}}
95
+ {{else}}
96
+ {{$.i18n.Tr "repo.issues.closed_at" .EventTag $createdStr | Safe}}
97
+ {{end}}
90
98
</span>
91
99
</div>
92
100
{{else if eq .Type 28}}
You can’t perform that action at this time.
0 commit comments