krateng/maloja

View on GitHub
maloja/web/jinja/error.jinja

Summary

Maintainability
Test Coverage
{% extends "abstracts/base.jinja" %}
{% block title %}Maloja - Error{% endblock %}

{% block content %}
    <table class="top_info">
        <tr>
            <td class="image">
                <div style="background-image:url('/favicon.png')"></div>
            </td>
            <td class="text">
                <h1>{{ error_desc | e }}</h1><br/>
                {{ error_full_desc | e }}

            </td>
        </tr>
    </table>


    Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
    {% if adminmode %}
        You are only seeing this information because you are in admin mode:
        <br/><br/>
        <div style="white-space: pre-wrap; font-family: monospace;">{% autoescape true -%}
            {{ traceback }}
        {%- endautoescape %}</div>
        <br/><br/>
        If you think this shouldn't have happened, consider
        <a class='textlink' href="https://github.com/krateng/maloja/issues/new">opening an issue</a>
        describing the situation.
    {% endif %}


{% endblock %}