Sha256: 6b0cd393c17a2f2f1569bbda279d0238bd56989859d0bdd725e6de9c2f737626

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

<% case @notification_type -%>
<% when "problem" -%>
<%=  "Problem: " -%>
<% when "recovery" -%>
<%=  "Recovery: " -%>
<% when "acknowledgement" -%>
<%=  "Acknowledgement: " -%>
<% when "test" -%>
<%=  "Test notification: " -%>
<% end -%>
'<%= @check %>' on <%= @entity_name -%>
<% if ! ['acknowledgement', 'test'].include?(@notification_type) -%>
 is <%= ['ok'].include?(@state) ? @state.upcase : @state.titleize -%>
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flapjack-0.7.28 lib/flapjack/gateways/email/alert_subject.text.erb