aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/index/components.html
diff options
context:
space:
mode:
authorKevin Fox <Kevin.Fox@pnnl.gov>2020-02-27 10:33:27 -0800
committerKevin Fox <Kevin.Fox@pnnl.gov>2020-02-27 10:33:27 -0800
commited5732629e142492b78888f6007de2fda618991c (patch)
tree7b958ada68cdd45d4ec18c032ec0405abdd9a519 /layouts/partials/index/components.html
parentf55cffc137c01ccf1543d0b956d64c428be78405 (diff)
Allow server display name to be overridden.
Diffstat (limited to 'layouts/partials/index/components.html')
-rw-r--r--layouts/partials/index/components.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html
index 135349a..da66ee1 100644
--- a/layouts/partials/index/components.html
+++ b/layouts/partials/index/components.html
@@ -60,7 +60,7 @@
<div class="component" data-status="{{ if $thisIsDown }}down{{ else }}{{ if $thisIsDisrupted }}disrupted{{ else }}{{ if $thisIsNotice }}notice{{ else }}ok{{ end }}{{ end }}{{ end }}">
<a href="/affected/{{ .name | urlize }}" class="no-underline">
- {{ .name }}
+ {{ default .displayName .name }}
</a>
{{ with .description }}
@@ -98,4 +98,4 @@
</div>
{{ end }}
-</div> \ No newline at end of file
+</div>