summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/premades_html.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/premades_html.jinja b/templates/premades_html.jinja
index e886023..3bf6b55 100644
--- a/templates/premades_html.jinja
+++ b/templates/premades_html.jinja
@@ -61,7 +61,7 @@
.link(node.data.url)
)
if (node.data.details1) {
- const col = (node.data.details1 < 10) ? 'rgb(150, 0, 0)' : 'rgb(150, 150, 0)'
+ const col = (node.data.details1 < 10 || node.data.details1 == 'n/a') ? 'rgb(150, 0, 0)' : 'rgb(150, 150, 0)'
ui.append(Viva.Graph.svg('text')
.attr('text-anchor', 'middle')
.attr('fill', col)