From c219f28a37583f17625b99bc00f42be8e9ec9303 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Fri, 26 Jan 2024 11:14:43 +0100 Subject: [PATCH] Fix recently introduced bugs --- partitioncloud/templates/components/add_partition.html | 2 ++ partitioncloud/templates/partition/details.html | 2 +- partitioncloud/templates/partition/edit.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/partitioncloud/templates/components/add_partition.html b/partitioncloud/templates/components/add_partition.html index 00acdaa..71567e8 100644 --- a/partitioncloud/templates/components/add_partition.html +++ b/partitioncloud/templates/components/add_partition.html @@ -6,6 +6,8 @@
{% if partition_uuid %} + {% else %} +
{% endif %} \ No newline at end of file diff --git a/partitioncloud/templates/partition/details.html b/partitioncloud/templates/partition/details.html index 64495bd..f637f52 100644 --- a/partitioncloud/templates/partition/details.html +++ b/partitioncloud/templates/partition/details.html @@ -68,7 +68,7 @@ {{ _("Attachments") }} - {% set _ = partition.load_attachments() %} + {{ partition.load_attachments() }} {% if partition.attachments %} {% set number=partition.attachments | length %} diff --git a/partitioncloud/templates/partition/edit.html b/partitioncloud/templates/partition/edit.html index b7950d1..b5179a6 100644 --- a/partitioncloud/templates/partition/edit.html +++ b/partitioncloud/templates/partition/edit.html @@ -39,7 +39,7 @@ {{ _("Attachments") }} - {% set _ = partition.load_attachments() %} + {{ partition.load_attachments() }} {% if partition.attachments %} {% set number=partition.attachments | length %}