From e1e38015eeaea4c8c7c419d87a0a9d788d8194f1 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 1 Jun 2022 12:34:48 +0200 Subject: [PATCH] fix --- ereuse_devicehub/templates/inventory/device_list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index dcca4870..589ec2ae 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -41,9 +41,9 @@

{{ lot.name }}

- {% if lot.transfer.code and lot.transfer.user_to.phantom %} + {% if lot.transfer.code and not lot.transfer.user_to.phantom %} {{ lot.transfer.code }} -> {{ lot.transfer.user_to.email }} - {% elif lot.transfer.code and lot.transfer.user_from.phantom %} + {% elif lot.transfer.code and not lot.transfer.user_from.phantom %} {{ lot.transfer.user_from.email }} -> {{ lot.transfer.code }} {% endif %}