🛠️

- add show price preference(store in cookies)
This commit is contained in:
2026-06-12 17:36:57 +08:00
parent 3f386e5e38
commit 9e9788ea22
13 changed files with 320 additions and 18 deletions
+2 -2
View File
@@ -64,7 +64,7 @@
</div>
</div>
</td>
<td class="px-6 py-4 font-semibold text-primary">${{ "{:,}".format(prop.price) }}</td>
<td class="px-6 py-4 font-semibold text-primary">{{ prop.price|price_fmt(price_pref, prop.area_sqft) }}</td>
<td class="px-6 py-4">
<span class="px-2.5 py-1 rounded-full text-xs font-medium
{% if prop.status == 'active' %}bg-green-100 text-green-800
@@ -106,7 +106,7 @@
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{% from "components/property_card.html" import property_card %}
{% for fav_prop in favorites %}
{{ property_card(fav_prop) }}
{{ property_card(fav_prop, price_pref) }}
{% endfor %}
</div>
{% else %}