about summary refs log tree commit diff
path: root/app/views/user_mailer/warning.text.erb
blob: bb6610c79bd2476a71b6ce510b87c0f7137d44e2 (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 %>
<% if !@statuses.nil? && !@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 %>