Files
firefly-iii/resources/views/emails/error-html.twig

65 lines
2.4 KiB
Twig
Raw Normal View History

{% include 'emails.header-html' %}
2016-02-10 15:18:13 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
{{ trans('email.error_intro', { version: version, errorMessage: errorMessage|escape })|raw }}
2016-02-10 15:18:13 +01:00
</p>
2016-02-24 20:42:05 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2020-05-25 19:24:21 +02:00
{{ trans('email.error_type', {class: class }) }}
2016-02-24 20:42:05 +01:00
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2020-05-25 19:24:21 +02:00
{{ trans('email.error_timestamp', {time: time }) }}
2016-02-24 20:42:05 +01:00
</p>
2016-02-10 15:18:13 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2020-05-27 09:34:52 +02:00
{{ trans('email.error_location', { file: file, line: line, code: code })|raw }}
2016-02-10 15:18:13 +01:00
</p>
2016-02-11 12:54:16 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2016-02-11 14:13:23 +01:00
{% if loggedIn %}
2020-05-27 09:34:52 +02:00
{{ trans('email.error_user', { id: user.id, email: user.email })|raw }}
2016-02-11 14:13:23 +01:00
{% else %}
2020-05-25 19:24:21 +02:00
{{ trans('email.error_no_user') }}
2016-02-11 14:13:23 +01:00
{% endif %}
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2021-04-03 18:48:21 +02:00
{{ trans('email.error_ip', { ip: ip }) }} (<a href="https://ipinfo.io/{{ ip }}/json?token={{ token }}">info</a>)<br />
2022-04-03 12:38:17 +02:00
{{ method }} {{ trans('email.error_url', {url :url }) }}<br />
2016-02-11 12:54:16 +01:00
</p>
2016-02-10 15:18:13 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2020-05-27 09:34:52 +02:00
{{ trans('email.error_stacktrace')|raw }}
2016-02-10 15:18:13 +01:00
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2020-05-27 09:34:52 +02:00
{{ trans('email.error_github_html')|raw }}
2016-02-10 15:18:13 +01:00
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
2020-05-25 19:24:21 +02:00
{{ trans('email.error_stacktrace_below') }}</p>
2016-02-10 15:18:13 +01:00
<p style="font-family: monospace;font-size:11px;color:#aaa">
{{ stackTrace|nl2br }}
2016-02-10 15:18:13 +01:00
</p>
2022-03-06 16:03:52 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
{{ trans('email.error_headers') }}
</p>
<p style="font-family: monospace;font-size:11px;color:#aaa">
{% for key, header in headers %}
2022-04-03 12:39:30 +02:00
{% if (key != 'cookie') and header[0] != '' and key != 'x-xsrf-token' %}
2022-03-06 16:03:52 +01:00
- {{ key }}: {{ header[0] }}<br>
{% endif %}
{% endfor %}
</p>
2024-01-05 10:55:07 +01:00
{% if ('' != post) %}
2024-01-04 11:46:23 +01:00
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
{{ trans('email.error_post') }}
</p>
<p style="font-family: monospace;font-size:11px;color:#aaa">
{{ post }}
</p>
{% endif %}
2022-03-06 16:03:52 +01:00
{% include 'emails.footer-html' %}