I am trying to implement a simple if-statement in the en.md.erb file for the slack integration
What I tried was this:
<% if #{ticket.updated_by.vip} != true %>
Update by non-VIP
<% else %>
Updated by the VIP #{ticket.updated_by.firstname}
<% end %>
But this syntax must be somehow broken, because the slack integration stopped working with this code in the file. Can anyone push me in right direction for the syntax?