generated from bisco/codex-bootstrap
feat(admin): add manual reservation operations
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{% extends "admin/base_site.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div id="content-main">
|
||||
<h1>{{ heading }}</h1>
|
||||
<p>{{ description }}</p>
|
||||
|
||||
<p>
|
||||
<strong>Reservation:</strong> {{ original.name }}<br>
|
||||
<strong>Show:</strong> {{ original.performance.show.title }}<br>
|
||||
<strong>Performance:</strong> {{ original.performance.starts_at }}<br>
|
||||
<strong>Party size:</strong> {{ original.party_size }}
|
||||
</p>
|
||||
|
||||
{% if qr_code_url %}
|
||||
<p>
|
||||
<strong>Check-in URL:</strong><br>
|
||||
<a href="{{ qr_code_url }}">{{ qr_code_url }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if qr_code_image %}
|
||||
<p><img src="{{ qr_code_image }}" alt="Operational QR code"></p>
|
||||
{% endif %}
|
||||
|
||||
{% if submit_label %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="{{ submit_label }}" class="default">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
<p><a href="{{ change_url }}">Back to reservation</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user