2021-04-13 12:44:22 +00:00
|
|
|
{% extends "partners/base.html" %}
|
2021-04-11 14:19:43 +00:00
|
|
|
{% load i18n %}
|
2021-04-13 12:44:22 +00:00
|
|
|
{% block "dashboardcontent" %}
|
|
|
|
<div class="col-12 col-md-10 col-lg-10 dashboard-content booking-trips">
|
|
|
|
<h2 class="dash-content-title">Deine Unterkünfte</h2>
|
2021-04-17 18:35:29 +00:00
|
|
|
<div class="dash-content-title"><a href="{% url "partners:establishment_register" %}" class="btn">Neue Unterkunft registrieren</a></span>
|
2021-04-13 12:44:22 +00:00
|
|
|
<div class="dashboard-listing booking-listing">
|
|
|
|
<div class="dash-listing-heading">
|
|
|
|
<div class="custom-radio">
|
|
|
|
<input type="radio" id="radio01" name="radio" checked/>
|
|
|
|
<label for="radio01"><span></span>Alle Unterkünfte</label>
|
|
|
|
</div><!-- end custom-radio -->
|
|
|
|
|
|
|
|
<div class="custom-radio">
|
|
|
|
<input type="radio" id="radio02" name="radio" />
|
|
|
|
<label for="radio02"><span></span>Aktiv</label>
|
|
|
|
</div><!-- end custom-radio -->
|
|
|
|
|
|
|
|
<div class="custom-radio">
|
|
|
|
<input type="radio" id="radio03" name="radio" />
|
|
|
|
<label for="radio03"><span></span>Inaktiv</label>
|
|
|
|
</div><!-- end custom-radio -->
|
2021-04-11 14:19:43 +00:00
|
|
|
|
2021-04-13 12:44:22 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table table-hover">
|
|
|
|
<tbody>
|
2021-04-17 18:35:29 +00:00
|
|
|
{% for establishment in object_list %}
|
2021-04-13 12:44:22 +00:00
|
|
|
<tr>
|
|
|
|
<td class="dash-list-text booking-list-detail">
|
2021-04-17 18:35:29 +00:00
|
|
|
<h3>{{ establishment.name }}</h3>
|
2021-04-13 12:44:22 +00:00
|
|
|
<ul class="list-unstyled booking-info">
|
2021-04-17 18:35:29 +00:00
|
|
|
<li><span>Adresse:</span> {{ establishment.full_address }}</li>
|
|
|
|
<li><span>Buchungen:</span> {{ establishment.bookings | length }}</li>
|
|
|
|
<li><span>Status:</span> {% if establishment.is_active %}aktiv{% else %}inaktiv{% endif %}</li>
|
2021-04-13 12:44:22 +00:00
|
|
|
</ul>
|
2021-05-30 10:41:30 +00:00
|
|
|
<a href="{% url "partners:roomcategories" establishment.id %}" class="btn btn-orange">Zimmer und Ausstattung bearbeiten</a>
|
|
|
|
<a href="{% url "partners:establishment_gallery" establishment.id %}" class="btn btn-orange">Bilder bearbeiten</a>
|
2021-04-13 12:44:22 +00:00
|
|
|
</td>
|
2021-04-20 06:36:59 +00:00
|
|
|
<td class="dash-list-btn"><a href="{% url "auction:bidding" establishment.id %}" class="btn btn-orange">Bieten</a><button class="btn">Deaktivieren</button></td>
|
2021-04-13 12:44:22 +00:00
|
|
|
</tr>
|
2021-04-17 18:35:29 +00:00
|
|
|
{% endfor %}
|
2021-04-13 12:44:22 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div><!-- end table-responsive -->
|
|
|
|
</div><!-- end booking-listings -->
|
|
|
|
|
|
|
|
</div><!-- end columns -->
|
2021-04-11 14:19:43 +00:00
|
|
|
{% endblock %}
|