Skip to content

Commit

Permalink
updated spacing in alert properties tables
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBarnes committed Sep 27, 2023
1 parent 868023e commit 85de648
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/layouts/partials/activityAlertProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
<td>{{ .operationName }}</td>
<td>
{{ if or (reflect.IsMap .status) (reflect.IsSlice .status) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .status) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .status) "json" }}
{{ else }}
{{ .status }}
{{ end }} </td>
{{ else if eq .category "ResourceHealth" }}
<td>
{{ if or (reflect.IsMap .causes) (reflect.IsSlice .causes) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .causes) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .causes) "json" }}
{{ else }}
{{ .causes }}
{{ end }}
</td>
<td>
{{ if or (reflect.IsMap .currentHealthStatus) (reflect.IsSlice .currentHealthStatus) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .currentHealthStatus) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .currentHealthStatus) "json" }}
{{ else }}
{{ .currentHealthStatus }}
{{ end }}
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/partials/logAlertProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
<tr>
<td>
{{ if or (reflect.IsMap .dimensions) (reflect.IsSlice .dimensions) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .dimensions) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .dimensions) "json" }}
{{ else }}
{{ .dimensions }}
{{ end }}
</td>
<td>
{{ if or (reflect.IsMap .failingPeriods) (reflect.IsSlice .failingPeriods) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .failingPeriods) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .failingPeriods) "json" }}
{{ else }}
{{ .failingPeriods }}
{{ end }}
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/partials/metricAlertProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<td>{{ .criterionType }}</td>
<td>
{{ if or (reflect.IsMap .dimensions) (reflect.IsSlice .dimensions) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .dimensions) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .dimensions) "json" }}
{{ else }}
{{ .dimensions }}
{{ end }}
Expand All @@ -28,7 +28,7 @@
<td>{{ .alertSensitivity }}</td>
<td>
{{ if or (reflect.IsMap .failingPeriods) (reflect.IsSlice .failingPeriods) }}
{{ transform.Highlight (encoding.Jsonify (dict "prefix" "\n" "indent" " ") .failingPeriods) "json" }}
{{ transform.Highlight (encoding.Jsonify (dict "indent" " ") .failingPeriods) "json" }}
{{ else }}
{{ .failingPeriods }}
{{ end }}
Expand Down

0 comments on commit 85de648

Please sign in to comment.