Bläddra i källkod

include anchor when linking to issue comments

tags/v0.4.0
Peter van Dijk 5 år sedan
förälder
incheckning
b11ffe4f80
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      httplistener/templates.go

+ 1
- 1
httplistener/templates.go Visa fil

@@ -16,7 +16,7 @@ var defaultTemplates = map[string]string{
16 16
  • {{g .Username}} ({{.Sha|truncateSha|h}}): {{trunc .Message 150}}
17 17
 {{end}}`,
18 18
 	"github.issue":        "[{{b .Repository.Name}}] {{g .Sender.Login}} {{.Action}} issue #{{.Issue.Number}}: {{.Issue.Title}} {{.Issue.HTMLURL}}",
19
-	"github.issuecomment": "[{{b .Repository.Name}}] {{g .Comment.User.Login}} commented on issue #{{.Issue.Number}}: {{trunc .Comment.Body 150}} {{.Issue.HTMLURL}}",
19
+	"github.issuecomment": "[{{b .Repository.Name}}] {{g .Comment.User.Login}} commented on issue #{{.Issue.Number}}: {{trunc .Comment.Body 150}} {{.Comment.HTMLURL}}",
20 20
 	"github.pullrequest":  "[{{b .Repository.Name}}] {{g .Sender.Login}} {{if .PullRequest.Merged}}merged{{else}}{{.Action}}{{end}} pull request #{{.PullRequest.Number}} (\x0303{{.PullRequest.Base.Ref}}…{{.PullRequest.Head.Ref}}\x0f): {{.PullRequest.Title}} {{.PullRequest.HTMLURL}}",
21 21
 }
22 22
 

Laddar…
Avbryt
Spara