diff --git a/app/views/mailer/deploy_notification.html.haml b/app/views/mailer/deploy_notification.html.haml index b667715..6338bea 100644 --- a/app/views/mailer/deploy_notification.html.haml +++ b/app/views/mailer/deploy_notification.html.haml @@ -21,6 +21,8 @@ %div %p.heading REVISION: %p= @deploy.revision + %p.heading MESSAGE: + %p= @deploy.message.blank? ? 'n/a' : @deploy.message %p.heading WHEN: %p= @deploy.created_at.to_s(:rfc822) %p.heading REPOSITORY: diff --git a/app/views/mailer/deploy_notification.text.erb b/app/views/mailer/deploy_notification.text.erb index fa1aac8..f00c0fb 100644 --- a/app/views/mailer/deploy_notification.text.erb +++ b/app/views/mailer/deploy_notification.text.erb @@ -6,6 +6,11 @@ REVISION: <%= @deploy.revision %> +MESSAGE: + +<%= @deploy.message.blank? ? 'n/a' : @deploy.message %> + + WHEN: <%= @deploy.created_at.to_s(:rfc822) %> -- libgit2 0.21.2