aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/issue.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/issues/issue.html')
-rw-r--r--layouts/issues/issue.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/layouts/issues/issue.html b/layouts/issues/issue.html
index b7ec2ce..513d884 100644
--- a/layouts/issues/issue.html
+++ b/layouts/issues/issue.html
@@ -47,7 +47,10 @@
{{ $minutesForCalc := (mod $diffInMin 60) }}
{{ div (sub $diffInMin $minutesForCalc) 60 }}h
- {{ $minutesForCalc }}m {{ T "ofDowntime" }}.
+ {{ $minutesForCalc }}m
+ {{ if eq .Params.severity "down" }}
+ {{ T "ofDowntime" }}
+ {{ end }}
</strong>
<span class="tooltip__text">
@@ -66,7 +69,9 @@
{{ $secsForCalc := (mod $timeDiff 60) }}
{{ div (sub $timeDiff $secsForCalc) 60 }}m
- {{ T "ofDowntime" }}.
+ {{ if eq .Params.severity "down" }}
+ {{ T "ofDowntime" }}
+ {{ end }}
</strong>
<span class="tooltip__text">
@@ -92,6 +97,6 @@
{{ end }}
<hr>
- {{ .Content }}
+ <div class="markdown">{{ .Content }}</div>
</div>
<div class="padding"></div>