From 3149206c3ed4eff65c5170d52b0f0c5e105d1407 Mon Sep 17 00:00:00 2001 From: Stephan Kerkman Date: Mon, 1 Jun 2026 16:46:24 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20add=20location=5Fdetail.html=20?= =?UTF-8?q?=E2=80=94=20area=20detail=20with=20cover=20photo=20header=20+?= =?UTF-8?q?=20plant=20grid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plants/templates/plants/location_detail.html | 67 +++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/plants/templates/plants/location_detail.html b/plants/templates/plants/location_detail.html index aa29e25..d1c8c61 100644 --- a/plants/templates/plants/location_detail.html +++ b/plants/templates/plants/location_detail.html @@ -1,2 +1,67 @@ +{# plants/templates/plants/location_detail.html #} {% extends "plants/base.html" %} -{% block content %}{{ location.name }}{% endblock %} +{% block title %}{{ location.name }} — BloomBase{% endblock %} +{% block content %} + + +
+ {% if location.cover_photo %} + {{ location.name }} + {% else %} +
+ {% endif %} + +
+ + ← Back + + Edit +
+ +
+ + +

{{ location.name }}

+

+ {{ plants.count }} plant{{ plants.count|pluralize }} +

+ + + {% if plants %} + + {% else %} + +
+
🪴
+

No plants here yet.

+ Identify a plant +
+ {% endif %} + +
+{% endblock %}