From 7a773d3eca158b5dffb1d3ad487815d8f5e4c8b4 Mon Sep 17 00:00:00 2001 From: rasmus Date: Tue, 10 Jun 2025 23:35:30 +0300 Subject: [PATCH] k6 links: https Previously only http:// worked. QR-code is kept http://, as the stickers were generated such. --- inventory-app/templates/inventory.html | 2 +- inventory-app/templates/inventory_public.html | 2 +- inventory-app/templates/inventory_view.html | 2 +- inventory-app/templates/inventory_view_public.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inventory-app/templates/inventory.html b/inventory-app/templates/inventory.html index 0c36881..1dd60c7 100644 --- a/inventory-app/templates/inventory.html +++ b/inventory-app/templates/inventory.html @@ -35,7 +35,7 @@ > {% if item.shortener %} - {{ item.shortener.slug }} + {{ item.shortener.slug }} {% endif %} {{ item.inventory.visibility }} diff --git a/inventory-app/templates/inventory_public.html b/inventory-app/templates/inventory_public.html index 1a9238c..07fc3fb 100644 --- a/inventory-app/templates/inventory_public.html +++ b/inventory-app/templates/inventory_public.html @@ -19,7 +19,7 @@ {% if item.shortener %} - {{ item.shortener.slug }} + {{ item.shortener.slug }} {% endif %} {{ item | format_name }} {{ item.comment }} diff --git a/inventory-app/templates/inventory_view.html b/inventory-app/templates/inventory_view.html index cedbf2f..5fa212c 100644 --- a/inventory-app/templates/inventory_view.html +++ b/inventory-app/templates/inventory_view.html @@ -43,7 +43,7 @@ {% if item.get("shortener").slug %} {{ item.get("shortener", {}).get("slug") | qr_code }} - + k6.ee/{{ item.get("shortener").slug }} {% endif %} diff --git a/inventory-app/templates/inventory_view_public.html b/inventory-app/templates/inventory_view_public.html index 105dd8c..d00dd88 100644 --- a/inventory-app/templates/inventory_view_public.html +++ b/inventory-app/templates/inventory_view_public.html @@ -18,7 +18,7 @@ {% if item.get("shortener").slug %} {{ item.get("shortener", {}).get("slug") | qr_code }} - + k6.ee/{{ item.get("shortener").slug }} {% endif %}