From 0b78178ff486c3fb9392f209390d0cc0b8acc30d Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 16 May 2022 10:29:07 +0200 Subject: [PATCH] fixed device public page --- .../resources/device/templates/devices/layout.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/device/templates/devices/layout.html b/ereuse_devicehub/resources/device/templates/devices/layout.html index 716d3159..e4474426 100644 --- a/ereuse_devicehub/resources/device/templates/devices/layout.html +++ b/ereuse_devicehub/resources/device/templates/devices/layout.html @@ -193,7 +193,10 @@ {% for action in device.public_actions %}
  • - {{ device.is_status(action) }} {{ action.type }} + {{ device.is_status(action) }} + {% if not device.is_status(action) %} + {{ action.type }} + {% endif %} — {% if device.is_status(action) %}