Sha256: 6e2a195982df8de7c70b481789a6ace4b3ebe4e360071216d5e3ff5775fbd97b

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

<% case @notification_type -%>
<% when "problem" -%>
<%=  "Problem: " -%>
<% when "recovery" -%>
<%=  "Recovery: " -%>
<% when "acknowledgement" -%>
<%=  "Ack: " -%>
<% when "test" -%>
<%=  "Test notification: " -%>
<% end -%>
'<%= @check %>' on <%= @entity_name -%>
<% unless ['acknowledgement', 'test'].include?(@notification_type) -%>
 is <%= ['ok'].include?(@state) ? @state.upcase : @state.titleize -%>
<% end -%>
 at <%= Time.at(@time).strftime('%-d %b %H:%M') %>, <%= @summary -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flapjack-0.7.28 lib/flapjack/gateways/sms_messagenet/alert.text.erb