49 lines
No EOL
2.4 KiB
HTML
49 lines
No EOL
2.4 KiB
HTML
{% extends "partners/base.html" %}
|
|
{% load i18n %}
|
|
{% 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>
|
|
<div class="dash-content-title"><a href="{% url "partners:establishment_register" %}" class="btn">Neue Unterkunft registrieren</a></span>
|
|
<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 -->
|
|
|
|
</div>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-hover">
|
|
<tbody>
|
|
{% for establishment in object_list %}
|
|
<tr>
|
|
<td class="dash-list-text booking-list-detail">
|
|
<h3>{{ establishment.name }}</h3>
|
|
<ul class="list-unstyled booking-info">
|
|
<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>
|
|
</ul>
|
|
<button class="btn btn-orange">Details</button>
|
|
</td>
|
|
<td class="dash-list-btn"><a href="{% url "partners:bidding" 1 %}" class="btn btn-orange">Bieten</a><button class="btn">Deaktivieren</button></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div><!-- end table-responsive -->
|
|
</div><!-- end booking-listings -->
|
|
|
|
</div><!-- end columns -->
|
|
{% endblock %} |