diff --git a/web/templates/ads.html b/web/templates/ads.html index a5d5924..6e773c9 100644 --- a/web/templates/ads.html +++ b/web/templates/ads.html @@ -1,122 +1,93 @@ - - -
- -| Категория | Заголовок | Текст | Дата | Статус | Действия |
|---|---|---|---|---|---|
| {{ ad.category }} | -{{ ad.title }} | -{{ ad.description[:100] if ad.description else '...' }} | -{{ ad.created_at.strftime('%d.%m.%Y') if ad.created_at else '—' }} | -- {% if ad.is_active %} - ✅ Активно - {% else %} - ❌ Архив - {% endif %} - | -- - | -
| Категория | Заголовок | Текст | Дата | Статус | Действия |
|---|---|---|---|---|---|
| {{ ad.category }} | +{{ ad.title }} | +{{ ad.description[:100] if ad.description else '...' }} | +{{ ad.created_at.strftime('%d.%m.%Y') if ad.created_at else '—' }} | ++ {% if ad.is_active %} + ✅ Активно + {% else %} + ❌ Архив + {% endif %} + | ++ + | +