From 96680937e9c485f0032d9ff316378af149998c6d Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 1 Jun 2022 13:14:27 +0200 Subject: [PATCH] add arrow right --- ereuse_devicehub/templates/inventory/device_list.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 589ec2ae..96aeae64 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -41,10 +41,10 @@

{{ lot.name }}

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