Sha256: 0aa0ae3d1e6fa79f6efb8c5cb495e86033d036cb9bcaa25e8ff1f6563407f860

Contents?: true

Size: 355 Bytes

Versions: 11

Compression:

Stored size: 355 Bytes

Contents

<% summary = @alert.summary %>
<%= @alert.type_sentence_case %>: '<%= @alert.check %>' on <%= @alert.entity -%>
<% unless ['acknowledgement', 'test'].include?(@alert.notification_type) -%>
 is <%= @alert.state_title_case -%>
<% end -%>
 at <%= Time.at(@alert.time).strftime('%-d %b %H:%M') %><%= (summary.nil? || summary.empty?) ? '' : ", #{summary}" -%>

Version data entries

11 entries across 11 versions & 1 rubygems

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