22 lines
1.1 KiB
HTML
22 lines
1.1 KiB
HTML
{% extends "layouts/base.html" %}
|
|
{% block title %}{{ _('500 Server Error') }} - UdeS team manager{% endblock %}
|
|
{% block page_title %}{{ _('Internal Server Error') }}{% endblock %}
|
|
{% block content %}
|
|
<div class="error-container">
|
|
<div class="error-icon">
|
|
<i class="fas fa-cogs"></i>
|
|
</div>
|
|
<h2>{{ _('500 — Internal Server Error') }}</h2>
|
|
<p>{{ _('Something went wrong on our end. The error has been logged and will be investigated. Please try again later.') }}</p>
|
|
{# The reference is what makes a report actionable: it names one request
|
|
in errors.log. It identifies nothing else — no session, no account —
|
|
so there is nothing to protect here (OBS-005). #}
|
|
{% if request_id and request_id != '-' %}
|
|
<p class="text-muted small">{{ _('Reference to quote if you report this:') }} <code>{{ request_id }}</code></p>
|
|
{% endif %}
|
|
<a href="{{ url_for('main.dashboard') if current_user.is_authenticated else url_for('auth.login') }}" class="btn btn-primary">
|
|
<i class="fas fa-redo-alt"></i> {{ _('Try Again') }}
|
|
</a>
|
|
</div>
|
|
{% endblock %}
|