feat: restricted ticket modifications to specific users

This commit is contained in:
2025-05-05 18:10:49 +02:00
parent 15f980d0b5
commit b8daab5b54
3 changed files with 32 additions and 7 deletions

View File

@@ -1,4 +1,17 @@
{% block content %}
{% if messages %}
<div style="max-width: 600px; margin: 1rem auto;">
{% for message in messages %}
<div style="padding: 1rem; border-radius: 5px; margin-bottom: 1rem;
background-color: {% if message.tags == 'error' %}#f8d7da
{% elif message.tags == 'success' %}#d4edda
{% else %}#fff3cd{% endif %};
color: #333;">
{{ message }}
</div>
{% endfor %}
</div>
{% endif %}
<style>
.ticket-container {
max-width: 700px;