Commit 806781c0f83d2060495b0aa225a4e00d07c41997
1 parent
ed78ea13
Exists in
master
and in
1 other branch
add app version to email notifications
Showing
2 changed files
with
10 additions
and
0 deletions
Show diff stats
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