Sha256: 2277457e4d081a00c638c764e6969652b775bf252a4d9a8e40a17d70a9ce44c6

Contents?: true

Size: 355 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
flapjack-2.0.0 lib/flapjack/gateways/slack/alert.text.erb
flapjack-2.0.0rc1 lib/flapjack/gateways/slack/alert.text.erb
flapjack-2.0.0b1 lib/flapjack/gateways/slack/alert.text.erb