Skip to content

Commit e9fee3f

Browse files
committed
Formatting
1 parent 9afe372 commit e9fee3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

alerts-detectors-notifications/alerts-and-detectors/alert-message-variables-reference.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,19 +166,19 @@ Helper functions
166166

167167
* - {{#each}} {{/each}}
168168
- Iterate over items in a list. Use {{this}} to refer to the element being iterated over.
169-
- {{#each detectorTeams}} {{this}} {{/each}}
169+
- ``{{#each detectorTeams}} {{this}} {{/each}}``
170170

171171
* - {{#if}} {{else}} {{/if}}
172172
- Conditional
173-
- {{#if anomalous}} Alert triggered at {{timestamp}} {{else}} Alert cleared at {{timestamp}} {{/if}}
173+
- ``{{#if anomalous}} Alert triggered at {{timestamp}} {{else}} Alert cleared at {{timestamp}} {{/if}}``
174174

175175
* - {{#notEmpty dimensions}} {{/notEmpty}}
176176
- Check if there are dimensions associated with the signal
177-
- {{#notEmpty dimensions}} Signal details: {{{dimensions}}} {{/notEmpty}}
177+
- ``{{#notEmpty dimensions}} Signal details: {{{dimensions}}} {{/notEmpty}}``
178178

179179
* - {{#unless}} {{/unless}}
180180
- Conditional, an inverse of the {{if}} function
181-
- Teams:{{#each detectorTeams}} {{name}}{{#unless @last}},{{/unless}}{{/each}}
181+
- ``Teams:{{#each detectorTeams}} {{name}}{{#unless @last}},{{/unless}}{{/each}}``
182182

183183

184184
.. _condition-variables:

0 commit comments

Comments
 (0)