{% extends "base.html" %} {% block title %}{{ project.title }} — DLD Monitor{% endblock %} {% block content %}

{{ project.title }}

{% if project.deal_type.value == 'sale' %} Продажа {% else %} Аренда {% endif %} · Владелец: {{ project.owner.name }} {% if project.last_checked_at %} · Проверено: {{ project.last_checked_at | msk }} МСК {% endif %}
{% if project.building %}🏢 {{ project.building }}{% endif %} {% if project.bedrooms is not none %} · 🛏️ {{ project.bedrooms }} BR{% endif %} {% if project.size_sqft %} · 📐 {{ "{:,.0f}".format(project.size_sqft).replace(",", " ") }} sqft{% endif %} {% if project.dld_permit %} · permit: {{ project.dld_permit }}{% endif %}
{% if project.our_price %}
Наша цена: {{ "{:,.0f}".format(project.our_price).replace(",", " ") }} AED
{% endif %} {% if project.our_url %}
Наше объявление: {{ project.our_url }}
{% endif %} {% if project.notes %}
{{ project.notes }}
{% endif %}
{% if request.state.is_admin %}
{% endif %}
{% if error %}
{{ error }}
{% endif %} {% if message %}
{{ message }}
{% endif %}
{% if project.our_url %}
🔍 Подобрать похожие на PropertyFinder — по зданию из вашего объявления{% if project.bedrooms is not none %}, {{ project.bedrooms }} BR{% endif %}; совпадения по DLD permit — первыми. Займёт ~15–20 сек.
{% else %}
🔍 «Подобрать похожие» появится, когда у проекта заполнены наше объявление (URL) и спальни.
{% endif %}
Отслеживаемые конкуренты ({{ project.listings|length }})
{% if not project.listings %}
Пока ничего не отслеживается. Добавьте URL объявления конкурента выше.
{% else %} {% for l in project.listings %}
{{ 'PropertyFinder' if l.source.value == 'propertyfinder' else 'Bayut' }} {% if l.status.value == 'removed' %}Удалено{% endif %}
{{ l.title or 'без названия' }}
Брокер: {{ l.agent_name or '—' }} ({{ l.agency_name or '—' }})
Добавлено: {{ l.first_seen_at | msk }} · Последний раз видели активным: {{ l.last_seen_at | msk }} (МСК)
{% if l.current_price %} {{ "{:,.0f}".format(l.current_price).replace(",", " ") }} {{ l.currency or 'AED' }} {% else %}—{% endif %}
{% if request.state.is_admin %}
{% endif %}
{% if l.price_history|length > 1 %}
История цены ({{ l.price_history|length }} записей)
    {% for h in l.price_history %}
  • {{ h.recorded_at | msk }} — {% if h.price %}{{ "{:,.0f}".format(h.price).replace(",", " ") }} AED{% else %}—{% endif %}
  • {% endfor %}
{% endif %}
{% endfor %} {% endif %} {% endblock %}