Sha256: 54434b7e2e9d939491a993dfccef541acdd4a93b656db4000c0ce4d6dd664d94

Contents?: true

Size: 511 Bytes

Versions: 14

Compression:

Stored size: 511 Bytes

Contents

<%= @alert.type_sentence_case -%>
: <% if @ack_str %><%= @ack_str %>, <% end -%>
"<%= @alert.check %>" on <%= @alert.entity -%>
<% unless ['acknowledgement', 'test'].include?(@alert.type) -%>
 is <%= @alert.state_title_case -%>
<% end -%>
<% if ['acknowledgement'].include?(@alert.type) -%>
 has been acknowledged, unscheduled maintenance created for <%= time_period_in_words(@alert.acknowledgement_duration) -%>
<% end -%>
<% if @alert.summary && !@alert.summary.empty? -%>
, <%= @alert.summary -%>
<% end -%>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flapjack-1.6.0 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.6.0rc4 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.6.0rc3 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.6.0rc2 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.6.0rc1 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.5.0 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.5.0rc1 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.4.0 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.4.0rc1 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.3.0 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.3.0rc3 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.3.0rc2 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.3.0rc1 lib/flapjack/gateways/jabber/alert.text.erb
flapjack-1.2.2 lib/flapjack/gateways/jabber/alert.text.erb