{# Renders the full Wohnungen body; used both by the full page and by HTMX poll. #}
Alarm
{{ alert_label }}
Filter
{{ filter_summary }}
Automatisch bewerben
Final absenden
{% if not apply_allowed %}
Bewerbungs-Dienst nicht erreichbar {{ apply_block_reason }}
{% endif %} {% if circuit_open %}
Automatik pausiert {{ apply_failures }} Fehler in Folge
{% endif %}

Passende Wohnungen auf inberlinwohnen.de

{{ flats|length }} gefunden {% if last_scrape_utc %} · aktualisiert {% endif %}
{% for item in flats %} {% set f = item.row %}
{{ f.address or f.link }} {% if item.last and item.last.finished_at is none %} läuft… {% elif item.last and item.last.success == 1 %}beworben {% elif item.last and item.last.success == 0 %}fehlgeschlagen {% endif %}
{% set parts = [] %} {% if f.rooms %}{% set _ = parts.append('%g Z'|format(f.rooms)) %}{% endif %} {% if f.size %}{% set _ = parts.append('%.0f m²'|format(f.size)) %}{% endif %} {% if f.total_rent %}{% set _ = parts.append('%.0f €'|format(f.total_rent)) %}{% endif %} {% if f.wbs == 'erforderlich' %}{% set _ = parts.append('WBS: erforderlich') %} {% elif f.wbs == 'nicht erforderlich' %}{% set _ = parts.append('ohne WBS') %} {% endif %} {{ parts|join(' · ') }}{% if parts %} · {% endif %}
{% set is_running = item.last and item.last.finished_at is none %} {% set is_success = item.last and item.last.success == 1 %} {% if not is_success %} {% if apply_allowed %}
{% if partner and f.id in partner.applied_flat_ids %} {{ partner.initial }} {% endif %}
{% endif %}
{% if partner and f.id in partner.rejected_flat_ids %} {{ partner.initial }} {% endif %}
{% endif %}
{% else %}
{% if not has_filters %} Bitte zuerst Filter einstellen, damit passende Wohnungen angezeigt werden. {% else %} Aktuell keine Wohnung, die alle Filter erfüllt. {% endif %}
{% endfor %}
{% if rejected_flats %}
Abgelehnte Wohnungen {{ rejected_flats|length }}
{% for f in rejected_flats %}
{{ f.address or f.link }}
{% if f.rooms %}{{ "%.1f"|format(f.rooms) }} Z{% endif %} {% if f.size %} · {{ "%.0f"|format(f.size) }} m²{% endif %} {% if f.total_rent %} · {{ "%.0f"|format(f.total_rent) }} €{% endif %} · abgelehnt
{% endfor %}
{% endif %} {% if filtered_out_flats %}
Rausgefilterte Wohnungen {{ filtered_out_flats|length }}
{% for item in filtered_out_flats %} {% set f = item.row %}
{{ f.address or f.link }}
{% if f.rooms %}{{ "%.1f"|format(f.rooms) }} Z{% endif %} {% if f.size %} · {{ "%.0f"|format(f.size) }} m²{% endif %} {% if f.total_rent %} · {{ "%.0f"|format(f.total_rent) }} €{% endif %} · gefunden
{% for reason in item.reasons %} {{ reason }} {% endfor %}
{% endfor %}
{% endif %}