From 7a06e79212dacfad95dfd1ded7e8b43f2bbf64a1 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 23 Feb 2019 19:22:17 +0100 Subject: dashboard/app: don't show empty compiler/CC Compiler and CC can be empty, don't show them if they are empty. --- dashboard/app/mail_bug.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dashboard') diff --git a/dashboard/app/mail_bug.txt b/dashboard/app/mail_bug.txt index 8661658df..23f14385f 100644 --- a/dashboard/app/mail_bug.txt +++ b/dashboard/app/mail_bug.txt @@ -9,11 +9,11 @@ git tree: {{.KernelRepo}} {{if .LogLink}}console output: {{.LogLink}} {{end}}{{if .KernelConfigLink}}kernel config: {{.KernelConfigLink}} {{end}}dashboard link: {{.Link}} -compiler: {{.CompilerID}} -{{if .UserSpaceArch}}userspace arch: {{.UserSpaceArch}} +{{if .CompilerID}}compiler: {{.CompilerID}} +{{end}}{{if .UserSpaceArch}}userspace arch: {{.UserSpaceArch}} {{end}}{{if .ReproSyzLink}}syz repro: {{.ReproSyzLink}} {{end}}{{if .ReproCLink}}C reproducer: {{.ReproCLink}} -{{end}}{{if .Moderation}}CC: {{.Maintainers}} +{{end}}{{if and .Moderation .Maintainers}}CC: {{.Maintainers}} {{end}}{{if and (not .ReproCLink) (not .ReproSyzLink)}} Unfortunately, I don't have any reproducer for this crash yet. {{end}} -- cgit mrf-deployment