You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.9 KiB

  1. {% if event.channel.kind == "email" %}
  2. Sent email to {{ event.channel.email_value }}
  3. {% elif event.channel.kind == "slack" %}
  4. Sent Slack alert
  5. {% if event.channel.slack_channel %}
  6. to {{ event.channel.slack_channel }}
  7. {% endif %}
  8. {% elif event.channel.kind == "po" %}
  9. Sent a Pushover notification
  10. {% if event.channel.name %}
  11. ({{ event.channel.name }})
  12. {% endif %}
  13. {% elif event.channel.kind == "webhook" %}
  14. Called webhook {{ event.channel.url_down }}
  15. {% elif event.channel.kind == "msteams" %}
  16. Sent alert to Microsoft Teams
  17. {% if event.channel.name %}
  18. ({{ event.channel.name }})
  19. {% endif %}
  20. {% elif event.channel.kind == "sms" %}
  21. Sent SMS to {{ event.channel.phone_number }}
  22. {% if event.channel.name %}
  23. ({{ event.channel.name }})
  24. {% endif %}
  25. {% elif event.channel.kind == "whatsapp" %}
  26. Sent WhatsApp message to {{ event.channel.phone_number }}
  27. {% if event.channel.name %}
  28. ({{ event.channel.name }})
  29. {% endif %}
  30. {% elif event.channel.kind == "trello" %}
  31. Added Trello card in
  32. board "{{ event.channel.trello_board_list|first }}"
  33. {% elif event.channel.kind == "shell" %}
  34. Executed a shell command
  35. {% if event.channel.name %}
  36. ({{ event.channel.name }})
  37. {% endif %}
  38. {% elif event.channel.kind == "call" %}
  39. Made a phone call to {{ event.channel.phone_number }}
  40. {% if event.channel.name %}
  41. ({{ event.channel.name }})
  42. {% endif %}
  43. {% elif event.channel.kind == "signal" %}
  44. Sent Signal message to {{ event.channel.phone_number }}
  45. {% if event.channel.name %}
  46. ({{ event.channel.name }})
  47. {% endif %}
  48. {% else %}
  49. Sent alert to {{ event.channel.get_kind_display }}
  50. {% if event.channel.name %}
  51. ({{ event.channel.name }})
  52. {% endif %}
  53. {% endif %}
  54. {% if event.error %}
  55. <br />
  56. <strong>Error: {{ event.error }}</strong>
  57. {% endif %}