feat: add admin views, a booking horizon and confirmation modals
Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
1 parent
8caf618950
commit
1a3640b15c
27 files changed
+1269
-62
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{% extends 'htmx_confirmation_modal.html.twig' %}
|
||||
|
||||
{% block title %}Buchung freigeben?{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>
|
||||
{{ booking.resource.type.label }} <em>{{ booking.resource.label }}</em>
|
||||
{%- if booking.resource.group %} ({{ booking.resource.group.label }}){% endif %}
|
||||
am {{ booking.date|format_datetime(pattern: 'EEEE, d. MMMM y') }}, {{ booking.timeRange }}
|
||||
{% if not booking.belongsTo(app.user) %}
|
||||
— gebucht von <em>{{ booking.user.name }}</em>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% if booking.partOfSeries %}
|
||||
<p class="pt-3 text-sm text-gray-500">
|
||||
Teil einer Serie: {{ booking.series.describe }}. Es wird nur dieser Tag freigegeben.
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block button_confirm %}Freigeben{% endblock %}
|
||||
Reference in new issue
Block a user