From d7e03eccccd1b19d0eb3e1aea43d871c2bed366d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 12 Mar 2019 13:37:41 +0100 Subject: dashboard/app: use pkg/html to format text emails Use pkg/html helpers to format text emails. Shorten short hashes to 8 char while we are here, the length used by git log --oneline. Tidy up tests a bit. Update #501 --- dashboard/app/mail_bug.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dashboard/app/mail_bug.txt') diff --git a/dashboard/app/mail_bug.txt b/dashboard/app/mail_bug.txt index 23f14385f..5b2ddf532 100644 --- a/dashboard/app/mail_bug.txt +++ b/dashboard/app/mail_bug.txt @@ -4,7 +4,7 @@ Hello, {{end -}} syzbot {{if .First}}found{{else}}has found a reproducer for{{end}} the following crash on: -HEAD commit: {{.KernelCommit}} {{.KernelCommitTitle}} +HEAD commit: {{formatShortHash .KernelCommit}} {{formatCommitTableTitle .KernelCommitTitle}} git tree: {{.KernelRepo}} {{if .LogLink}}console output: {{.LogLink}} {{end}}{{if .KernelConfigLink}}kernel config: {{.KernelConfigLink}} -- cgit mrf-deployment