diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-03-12 13:37:41 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-17 18:06:44 +0100 |
| commit | d7e03eccccd1b19d0eb3e1aea43d871c2bed366d (patch) | |
| tree | ab553c4bc03e4b75ffce1329a3671f7b097b456d /dashboard/app/mail_bug.txt | |
| parent | 5cf6e34d9e776fa906088beff75fa93b4e3681c2 (diff) | |
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
Diffstat (limited to 'dashboard/app/mail_bug.txt')
| -rw-r--r-- | dashboard/app/mail_bug.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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}} |
