{{ _("Chambre") }}

{{ bootstrap_icon("door-closed") }}
{% with rental = user.current_rental %} {% endwith %}
{{ _("Location actuelle") }} Chambre {{ rental.room.num }}
{{ _("Depuis le") }} {{ moment(rental.start).format("LL") }}
{{ _("Jusqu'au") }} {{ moment(rental.end).format("LL") if rental.end else "?" }}

{% if user.old_rentals %} {% for rental in user.old_rentals %} {% endfor %}
{{ _("Chambre") }} {{ _("Période") }}
{{ rental.room.num }} {{ moment(rental.start).format("L") }} – {{ moment(rental.end).format("L") }}
{% endif %}