Commit 806781c0f83d2060495b0aa225a4e00d07c41997

Authored by Spencer Oberstadt
1 parent ed78ea13
Exists in master and in 1 other branch production

add app version to email notifications

app/views/mailer/err_notification.html.haml
@@ -32,6 +32,11 @@ @@ -32,6 +32,11 @@
32 = link_to_source_file(line) do 32 = link_to_source_file(line) do
33 = line.to_s 33 = line.to_s
34 %br 34 %br
  35 + - if @notice.app_version.present?
  36 + %p.heading APP VERSION:
  37 + %p.monospace
  38 + = @notice.app_version
  39 + %br
35 %p.heading URL: 40 %p.heading URL:
36 %p.monospace 41 %p.monospace
37 - if @notice.request['url'].present? 42 - if @notice.request['url'].present?
app/views/mailer/err_notification.text.erb
@@ -18,6 +18,11 @@ WHERE: @@ -18,6 +18,11 @@ WHERE:
18 <%= line %> 18 <%= line %>
19 <% end %> 19 <% end %>
20 20
  21 +<%- if @notice.app_version.present? %>
  22 +APP VERSION:
  23 +
  24 +<%= @notice.app_version %>
  25 +<%- end %>
21 26
22 URL: 27 URL:
23 28