aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-02-23 19:22:17 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-02-23 19:22:17 +0100
commit7a06e79212dacfad95dfd1ded7e8b43f2bbf64a1 (patch)
treeb336431dfb4b121f715a5933c2930e971d114029 /dashboard
parent9737e71ed14ec52bbc0fc61e23dfd8da533a1dfd (diff)
dashboard/app: don't show empty compiler/CC
Compiler and CC can be empty, don't show them if they are empty.
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/app/mail_bug.txt6
1 files changed, 3 insertions, 3 deletions
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}}