+ {% if error %}
+
+ {% endif %}
+ {% block content %}{% endblock %}
+
diff --git a/worker/src/templates/ads.html b/worker/src/templates/ads.html index 1ec1d93..14871b1 100644 --- a/worker/src/templates/ads.html +++ b/worker/src/templates/ads.html @@ -1,40 +1,65 @@ {% extends "base.html" %} {% block title %}Ads — Willhaben Tracker{% endblock %} -{% block content %} -
| Title | -Price | +Ad | Location | -Postcode | -URL | -Published | -First Seen | +First Tracked | +Link | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ ad.title[:70] }}{% if ad.title|length > 70 %}…{% endif %} | -{{ format_price(ad.price) }} | -{{ ad.location or '—' }} | -{{ ad.postcode or '—' }} | -Link | -{{ ad.published_at.strftime('%Y-%m-%d %H:%M') if ad.published_at else '—' }} | -{{ ad.first_seen_at.strftime('%Y-%m-%d %H:%M') }} | +
+
+ {{ ad.title }}
+
+
+ {{ format_price(ad.price) }}
+ {% if ad.published_at %}
+
+
+ Pub: {{ ad.published_at.strftime('%m/%d %H:%M') }}
+
+ {% endif %}
+
+ |
+
+
+
+ {% if ad.postcode %}{{ ad.postcode }} • {% endif %}
+ {{ ad.location or '—' }}
+
+ |
+
+
+ {{ ad.first_seen_at.strftime('%Y-%m-%d') }}
+
+
+ {{ ad.first_seen_at.strftime('%H:%M:%S') }}
+
+ |
+ + + Open + + |
No ads tracked yet.
+