aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/templates.html
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-07-03 16:00:52 +0200
committerTaras Madan <tarasmadan@google.com>2024-07-04 09:25:11 +0000
commitdc6bbff0c2fe403c39d8a1d057f668088b09069f (patch)
treed30f9427959a36f1fe7c080a010ed9c61d217414 /dashboard/app/templates.html
parent3f2748a3a15aac63efeb991dee40bfc870ae581d (diff)
dashboard/app: make coverage menu and page optional
Diffstat (limited to 'dashboard/app/templates.html')
-rw-r--r--dashboard/app/templates.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/dashboard/app/templates.html b/dashboard/app/templates.html
index 63830d7ed..f45e28632 100644
--- a/dashboard/app/templates.html
+++ b/dashboard/app/templates.html
@@ -84,8 +84,10 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
<span style="color:DarkOrange;">📈</span> Fuzzing</a>
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/crashes" $.Namespace)}}_selected{{end}}" href='/{{$.Namespace}}/graph/crashes'>
<span style="color:DarkOrange;">📈</span> Crashes</a>
+ {{if .ShowCoverageMenu}}
<a class="navigation_tab{{if eq .URLPath (printf "/%v/graph/coverage" $.Namespace)}}_selected{{end}}" href='/{{$.Namespace}}/graph/coverage'>
<span style="color:DarkOrange;">📈</span> Coverage</a>
+ {{end}}
</td>
{{if .ContactEmail}}
<td class="navigation-right">