Skip to content

Commit

Permalink
Show correct form when opening email/slack option in sequences (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
GDay authored Mar 14, 2024
1 parent 6080b26 commit 3bc92b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions back/admin/sequences/templates/_condition_body.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
{% include '_condition_line_item.html' with type='appointment' %}
{% endfor %}
{% for item in condition.external_new_hire %}
{% if item.send_via == ExternalMessagesType.EMAIL %}
{% if item.send_via == ExternalMessageType.EMAIL %}
{% include '_condition_line_item.html' with type='pendingemailmessage' %}
{% elif item.send_via == ExternalMessagesType.SLACK %}
{% elif item.send_via == ExternalMessageType.SLACK %}
{% include '_condition_line_item.html' with type='pendingslackmessage' %}
{% else %}
{% include '_condition_line_item.html' with type='pendingtextmessage' %}
Expand Down Expand Up @@ -46,9 +46,9 @@
{% include '_condition_line_item.html' with type='pendingadmintask' %}
{% endfor %}
{% for item in condition.external_admin %}
{% if item.send_via == ExternalMessagesType.EMAIL %}
{% if item.send_via == ExternalMessageType.EMAIL %}
{% include '_condition_line_item.html' with type='pendingemailmessage' %}
{% elif item.send_via == ExternalMessagesType.SLACK %}
{% elif item.send_via == ExternalMessageType.SLACK %}
{% include '_condition_line_item.html' with type='pendingslackmessage' %}
{% else %}
{% include '_condition_line_item.html' with type='pendingtextmessage' %}
Expand Down

0 comments on commit 3bc92b7

Please sign in to comment.