taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

donations-error.html.j2 (485B)


      1 {% extends "donations-base.html.j2" %}
      2 {% block main %}
      3   <h1>{{ gettext("Error encountered") }}</h1>
      4 
      5   <p>{{ message }}</p>
      6 
      7   {% if status_code %}
      8   <p>
      9     {{ gettext ("The backend returned status code {code}.").format(code=status_code) }}.
     10   </p>
     11   {% endif %}
     12 
     13   {% if json %}
     14   <p>{{gettext("Backend response:")}}</p>
     15   <pre>{{ json }}</pre>
     16   {% endif %}
     17 
     18   {% if stack %}
     19   <p>{{gettext("Stack trace:")}}</p>
     20   <pre>
     21     {{ stack }}
     22   </pre>
     23   {% endif %}
     24 {% endblock main %}