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 %}