This repository has been archived on 2026-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
RepApp/rc_hip/repapp/templates/repapp/orga/cafe.html
Tom Irgang 9802a6345c start orga area
Orga login:
- Remove not needed login page for members
- Add landing page after member login with redirect to correct area
- Add selection page if member is orga and repa
- Add orga main menu
- Add cafe CRUD pages
- Add guest list and edit view
2023-05-18 09:18:58 +02:00

45 lines
1.6 KiB
HTML

{% extends "repapp/base.html" %}
{% block title %}
- Repair-Cafés
{% endblock title %}
{% block page_title %}
Repair-Cafés
{% endblock page_title %}
{% block content %}
<p>
<a href="{% url 'create_cafe' %}" class="btn btn-primary">Neues Repair-Cafés anlegen</a>
<a href="javascript:history.back()" class="btn btn-primary">Zurück</a>
</p>
<table class="table">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Datum</th>
<th scope="col">Ort</th>
<th scope="col">Adresse</th>
<th scope="col">Bearbeiten</th>
<th scope="col">Löschen</th>
</tr>
</thead>
<tbody>
{% for cafe in object_list %}
<tr>
<th scope="row">{{ cafe.pk }}</th>
<td>{{ cafe.event_date|date:"l" }}, {{ cafe.event_date|date }}</td>
<td>{{ cafe.location }}</td>
<td>{{ cafe.address }}</td>
<td>
<a href="{% url 'edit_cafe' cafe.pk %}" class="btn btn-primary">Bearbeiten</a>
</td>
<td>
<a href="{% url 'delete_cafe' cafe.pk %}" class="btn btn-danger">Löschen</a>
</td>
</tr>
{% empty %}
<tr>
<td colspan="4">Es sind keine Repair-Cafés angelegt.</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}