mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Fix email templates and handler for #4586
This commit is contained in:
		
							
								
								
									
										27
									
								
								resources/views/emails/error-text.twig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								resources/views/emails/error-text.twig
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| {% include 'emails.header-text' %} | ||||
| {{ trans('email.error_intro', { version: version, errorMessage: errorMessage })|striptags|raw }} | ||||
|  | ||||
| {{ trans('email.error_type', {class: class })|raw }} | ||||
|  | ||||
| {{ trans('email.error_timestamp', {time: time })|raw }} | ||||
|  | ||||
| {{ trans('email.error_location', { file: file , line: line, code: code })|striptags|raw }} | ||||
|  | ||||
| {% if loggedIn %} | ||||
| {{     trans('email.error_user', { id: user.id, email: user.email })|striptags|raw }} | ||||
| {% else %} | ||||
| {{     trans('email.error_no_user')|raw }} | ||||
| {% endif %} | ||||
|  | ||||
| {{ trans('email.error_ip', { ip: ip }) }} | ||||
| {{ trans('email.error_url', {url :url}) }} | ||||
| {{ trans('email.error_user_agent', {userAgent: userAgent } ) }} | ||||
|  | ||||
| {{ trans('email.error_stacktrace')|striptags|raw }} | ||||
|  | ||||
| {{ trans('email.error_github_text' )|raw }} | ||||
|  | ||||
| {{ trans('email.error_stacktrace_below')|raw }} | ||||
|  | ||||
| {{ stackTrace|raw }} | ||||
| {% include 'emails.footer-text' %} | ||||
		Reference in New Issue
	
	Block a user