Sha256: a3036e14e4534d053e8d656c75877986f1c45029e3b5fbc3677c77490ccb44d8

Contents?: true

Size: 780 Bytes

Versions: 16

Compression:

Stored size: 780 Bytes

Contents

%head
  %meta{content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type'}
%body
  - if @alert.status == 'Errored'
    %h1= "Your Aleph alert '#{@alert.query_title}' suffered from an error"
    %p= "#{@alert.error_message}"
  - else
    %h1= "Your Aleph alert '#{@alert.query_title}' has triggered"
    %p= "You asked to be notified if the result was #{@alert.comparator} #{@alert.target}"
    %p= "The query returned #{@alert.last_alert_result.sample_data.join(', ')} for #{@alert.last_alert_result.headers.join(', ')}"
  - if @alert.description && !@alert.description.empty?
    %h3 Alert description:
    %p= "#{@alert.description}"
    %br
  = link_to('Go to this alert', alert_url(@alert.id))
  %br
  = link_to("Go to this alert's query", query_url(@alert.query.id))

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
aleph_analytics-0.4.9.pre.dev app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.4.8 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.4.7 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.4.4 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.4.2 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.4.1 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.3.0 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.2.0 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.1.0 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.6 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.5 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.4 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.3 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.2 app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.1.alpha app/views/alert_mailer/alert_failing_email.html.haml
aleph_analytics-0.0.0.alpha app/views/alert_mailer/alert_failing_email.html.haml