Procházet zdrojové kódy

include anchor when linking to issue comments

tags/v0.4.0
Peter van Dijk před 5 roky
rodič
revize
b11ffe4f80
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      httplistener/templates.go

+ 1
- 1
httplistener/templates.go Zobrazit soubor

@@ -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
 

Načítá se…
Zrušit
Uložit