Also, the instruction to reply to e-mail would probably not work in many cases where the notifications e-mail address is not able to receive incoming emails or the mailbox is not actively monitored.
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			898 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			898 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| <%= t "user_mailer.warning.title.#{@warning.action}" %>
 | |
| 
 | |
| ===
 | |
| 
 | |
| <% unless @warning.none_action? %>
 | |
| <%= t "user_mailer.warning.explanation.#{@warning.action}", instance: @instance %>
 | |
| 
 | |
| <% end %>
 | |
| <% if @warning.text.present? %>
 | |
| <%= @warning.text %>
 | |
| 
 | |
| <% end %>
 | |
| <% if @warning.report && !@warning.report.other? %>
 | |
| **<%= t('user_mailer.warning.reason') %>** <%= t("user_mailer.warning.categories.#{@warning.report.category}") %>
 | |
| 
 | |
| <% if @warning.report.violation? && @warning.report.rule_ids.present? %>
 | |
| <% @warning.report.rules.each do |rule| %>
 | |
| - <%= rule.text %>
 | |
| <% end %>
 | |
| 
 | |
| <% end %>
 | |
| <% end %>
 | |
| <% if !@statuses.empty? %>
 | |
| <%= t('user_mailer.warning.statuses') %>
 | |
| 
 | |
| <% @statuses.each do |status| %>
 | |
| 
 | |
| <%= render 'notification_mailer/status', status: status %>
 | |
| ---
 | |
| <% end %>
 | |
| <% else %>
 | |
| ---
 | |
| <% end %>
 | |
| 
 | |
| <%= t 'user_mailer.warning.appeal_description', instance: @instance %>
 | |
| <%= disputes_strike_url(@warning) %>
 |