warning.text.erb 477 B

12345678910111213141516171819202122
  1. <%= t "user_mailer.warning.title.#{@warning.action}" %>
  2. ===
  3. <% unless @warning.none_action? %>
  4. <%= t "user_mailer.warning.explanation.#{@warning.action}" %>
  5. <% end %>
  6. <%= @warning.text %>
  7. <% if !@statuses.nil? && !@statuses.empty? %>
  8. <%= t('user_mailer.warning.statuses') %>
  9. <% @statuses.each do |status| %>
  10. <%= render 'notification_mailer/status', status: status %>
  11. ---
  12. <% end %>
  13. <% else %>
  14. ---
  15. <% end %>
  16. <%= t 'user_mailer.warning.get_in_touch', instance: @instance %>