From 85698f54f367b55ccc0700537c1b5c1e586e63eb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 22 Sep 2017 09:08:39 +0200 Subject: [PATCH] Links in the disp_list page --- templates/dispositivo/details.htm | 10 +++++----- templates/dispositivo/list.htm | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/dispositivo/details.htm b/templates/dispositivo/details.htm index 07917d7..bcc649c 100644 --- a/templates/dispositivo/details.htm +++ b/templates/dispositivo/details.htm @@ -64,11 +64,11 @@ {% elif "linux" in disp.lower() or "ubuntu" in disp.lower() or "debian" in disp.lower() %} diff --git a/templates/dispositivo/list.htm b/templates/dispositivo/list.htm index 12cb5a0..f92e121 100644 --- a/templates/dispositivo/list.htm +++ b/templates/dispositivo/list.htm @@ -25,7 +25,7 @@ {% for d in accessi %} {{ d[0].dispositivo.tipo }} - {% for u in d %}

{{ u.impiegato.nomeimpiegato }}

{% endfor %} + {% for u in d %}{% if u.iid != None %}{% endif %}{{ u.impiegato.nomeimpiegato }}{% if u.iid != None %}{% endif %}{% if loop.index < d|length %}
{% endif %}{% endfor %} {% if d[0].dispositivo.inv_ced %}{{ d[0].dispositivo.inv_ced }}{% endif %} {% if "windows" in d[0].dispositivo.so.lower() %}