File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 64
64
{{$.i18n.Tr "action.mirror_sync_delete" (.GetRepoLink|Escape) (.GetBranch|Escape) (.ShortRepoPath|Escape) | Str2html}}
65
65
{{else if eq .GetOpType 21}}
66
66
{{ $index := index .GetIssueInfos 0}}
67
- {{$.i18n.Tr "action.approve_pull_request" (.GetRepoLink|Escape) $index (.ShortRepoPath|Escape) | Str2html}}
67
+ {{$.i18n.Tr "action.approve_pull_request" ((printf "%s/pulls/%d" .GetRepoLink $index) |Escape) $index (.ShortRepoPath|Escape) | Str2html}}
68
68
{{else if eq .GetOpType 22}}
69
69
{{ $index := index .GetIssueInfos 0}}
70
- {{$.i18n.Tr "action.reject_pull_request" (.GetRepoLink|Escape) $index (.ShortRepoPath|Escape) | Str2html}}
70
+ {{$.i18n.Tr "action.reject_pull_request" ((printf "%s/pulls/%d" .GetRepoLink $index) |Escape) $index (.ShortRepoPath|Escape) | Str2html}}
71
71
{{else if eq .GetOpType 23}}
72
72
{{ $index := index .GetIssueInfos 0}}
73
73
{{$.i18n.Tr "action.comment_pull" (.GetRepoLink|Escape) $index (.ShortRepoPath|Escape) | Str2html}}
You can’t perform that action at this time.
0 commit comments