File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
<title>{{.Subject}}</title>
9
9
</head>
10
10
11
- {{$repo_url := printf "<a href='%s'>%s</a>" (Escape .Issue.Repo.Link ) (Escape .Issue.Repo.FullName)}}
11
+ {{$repo_url := printf "<a href='%s'>%s</a>" (Escape .Issue.Repo.HTMLURL ) (Escape .Issue.Repo.FullName)}}
12
12
{{$link := printf "<a href='%s'>#%d</a>" (Escape .Link) .Issue.Index}}
13
13
<body>
14
14
<p>
Original file line number Diff line number Diff line change 20
20
{{if eq .ActionName "push"}}
21
21
<p>
22
22
{{if .Comment.IsForcePush}}
23
- {{$oldCommitUrl := printf "%s/commit/%s" .Comment.Issue.PullRequest.BaseRepo.Link .Comment.OldCommit}}
23
+ {{$oldCommitUrl := printf "%s/commit/%s" .Comment.Issue.PullRequest.BaseRepo.HTMLURL .Comment.OldCommit}}
24
24
{{$oldShortSha := ShortSha .Comment.OldCommit}}
25
25
{{$oldCommitLink := printf "<a href='%[1]s'><b>%[2]s</b></a>" (Escape $oldCommitUrl) (Escape $oldShortSha)}}
26
26
27
- {{$newCommitUrl := printf "%s/commit/%s" .Comment.Issue.PullRequest.BaseRepo.Link .Comment.NewCommit}}
27
+ {{$newCommitUrl := printf "%s/commit/%s" .Comment.Issue.PullRequest.BaseRepo.HTMLURL .Comment.NewCommit}}
28
28
{{$newShortSha := ShortSha .Comment.NewCommit}}
29
29
{{$newCommitLink := printf "<a href='%[1]s'><b>%[2]s</b></a>" (Escape $newCommitUrl) (Escape $newShortSha)}}
30
30
72
72
<ul>
73
73
{{range .Comment.Commits}}
74
74
<li>
75
- <a href="{{$.Comment.Issue.PullRequest.BaseRepo.Link }}/commit/{{.ID}}">
75
+ <a href="{{$.Comment.Issue.PullRequest.BaseRepo.HTMLURL }}/commit/{{.ID}}">
76
76
{{ShortSha .ID.String}}
77
77
</a> - {{.Summary}}
78
78
</li>
Original file line number Diff line number Diff line change 11
11
12
12
</head>
13
13
14
- {{$release_url := printf "<a href='%s'>%s</a>" (.Release.Link | Escape) (.Release.TagName | Escape)}}
15
- {{$repo_url := printf "<a href='%s'>%s</a>" (.Release.Repo.Link | Escape) (.Release.Repo.FullName | Escape)}}
14
+ {{$release_url := printf "<a href='%s'>%s</a>" (.Release.HTMLURL | Escape) (.Release.TagName | Escape)}}
15
+ {{$repo_url := printf "<a href='%s'>%s</a>" (.Release.Repo.HTMLURL | Escape) (.Release.Repo.FullName | Escape)}}
16
16
<body>
17
17
<p>
18
18
{{.locale.Tr "mail.release.new.text" .Release.Publisher.Name $release_url $repo_url | Str2html}}
You can’t perform that action at this time.
0 commit comments