From eb8284fdd2b10754ef37ae1eb6e2419232587dd5 Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Mon, 29 Dec 2025 20:11:25 +0100 Subject: [PATCH] Thing detail template adjusted --- argocd/deployment.yaml | 2 +- boxes/templates/boxes/thing_detail.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index d931d6a..5678422 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -27,7 +27,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/labhelper:0.033 + image: git.baumann.gr/adebaumann/labhelper:0.034 imagePullPolicy: Always ports: - containerPort: 8000 diff --git a/boxes/templates/boxes/thing_detail.html b/boxes/templates/boxes/thing_detail.html index 733a9ed..f3a2177 100644 --- a/boxes/templates/boxes/thing_detail.html +++ b/boxes/templates/boxes/thing_detail.html @@ -17,13 +17,13 @@ {% block content %}
-
+
{% if thing.picture %} {% thumbnail thing.picture "400x400" crop="center" as thumb %} - {{ thing.name }} + {{ thing.name }} {% endthumbnail %} {% else %} -
+
No image