Skip to content

Commit

Permalink
Event Details for notification emails
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Jul 13, 2018
1 parent fdb5c1e commit d59288f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/generic_mailer/policy_action_email.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@
%td
(#{@miq_action_hash[:entity_type]})
= @miq_action_hash[:entity_name]
- if @miq_action_hash[:event_details]
%tr
%td= _('Details')
%td
= @miq_action_hash[:event_details]
2 changes: 2 additions & 0 deletions app/views/generic_mailer/policy_action_email.text.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= @miq_action_hash[:policy_detail]
= "#{_('Event:')} #{@miq_action_hash[:event_description]}"
= "#{_('Entity:')} (#{@miq_action_hash[:entity_type]}) #{@miq_action_hash[:entity_name]}"
- if @miq_action_hash[:event_details]
= "#{_('Details')}: #{@miq_action_hash[:event_details]}"

0 comments on commit d59288f

Please sign in to comment.