summaryrefslogtreecommitdiff
path: root/talermerchantdemos/templates/donations-error.html.j2
blob: 8c48335cceb58d1b74b8b6c67654c898dd2c0957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "donations-base.html.j2" %}
{% block main %}
  <h1>{{ gettext("Error encountered") }}</h1>

  <p>{{ message }}</p>

  {% if status_code %}
  <p>
    {{ gettext ("The backend returned status code {code}.").format(code=status_code) }}.
  </p>
  {% endif %}

  {% if json %}
  <p>{{gettext("Backend response:")}}</p>
  <pre>{{ json }}</pre>
  {% endif %}

  {% if stack %}
  <p>{{gettext("Stack trace:")}}</p>
  <pre>
    {{ stack }}
  </pre>
  {% endif %}
{% endblock main %}