add user management

This commit is contained in:
team 1
2026-05-11 14:47:31 +02:00
parent acb1082398
commit e13d584025
13 changed files with 556 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
{% extends 'error/layout.html.twig' %}
{% set status_code = status_code|default(500) %}
{% block title %}Systemfehler · Fehler 500{% endblock %}
{% block icon %}<i class="bi bi-bug fs-3 text-danger"></i>{% endblock %}
{% block heading %}Systemfehler{% endblock %}
{% block message %}Es ist ein unerwarteter Fehler aufgetreten. Bitte versuche es erneut oder prüfe die System-Logs im Adminbereich.{% endblock %}
{% block actions %}
{% if app.user and is_granted('ROLE_ADMIN_AREA') %}
<a class="btn btn-info" href="{{ path('admin_system_logs_index') }}">
<i class="bi bi-terminal"></i> System-Logs öffnen
</a>
<a class="btn btn-outline-light" href="{{ path('admin_dashboard') }}">
<i class="bi bi-speedometer2"></i> Zum Adminbereich
</a>
{% elseif app.user and is_granted('ROLE_CHAT_USER') %}
<a class="btn btn-info" href="{{ path('chat_index') }}">
<i class="bi bi-chat-dots"></i> Zum Chat
</a>
{% else %}
<a class="btn btn-info" href="{{ path('chat_login') }}">
<i class="bi bi-box-arrow-in-right"></i> Zur Chat-Anmeldung
</a>
{% endif %}
{% endblock %}