about summary refs log tree commit diff
path: root/app/views/user_mailer/warning.text.erb
blob: 24c1f86f2b7edd6261e1754bc33e87e6986f92aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%= t "user_mailer.warning.title.#{@warning.action}" %>

===

<% unless @warning.none_action? %>
<%= t "user_mailer.warning.explanation.#{@warning.action}" %>

<% end %>
<%= @warning.text %>
<% unless @statuses.empty? %>
<%= t('user_mailer.warning.statuses') %>

<% @statuses.each do |status| %>

<%= render 'notification_mailer/status', status: status %>
---
<% end %>
<% else %>
---
<% end %>

<%= t 'user_mailer.warning.get_in_touch', instance: @instance %>