From b6cbb10af2d1ed0f86997797d9dd5e46000e2bed Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 22 Sep 2017 08:36:12 +0200 Subject: [PATCH] Whoops. --- templates/dispositivo/details.htm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/dispositivo/details.htm b/templates/dispositivo/details.htm index cb0475d..07917d7 100644 --- a/templates/dispositivo/details.htm +++ b/templates/dispositivo/details.htm @@ -60,9 +60,9 @@ Sistema Operativo
- {% if "windows" in d[0].dispositivo.so.lower() %} + {% if "windows" in disp.lower() %} - {% elif "linux" in d[0].dispositivo.so.lower() or "ubuntu" in d[0].dispositivo.so.lower() or "debian" in d[0].dispositivo.so.lower() %} + {% elif "linux" in disp.lower() or "ubuntu" in disp.lower() or "debian" in disp.lower() %} - {% elif "mac" in d[0].dispositivo.so.lower() or "iOS" in d[0].dispositivo.so %} + {% elif "mac" in disp.lower() or "iOS" in d[0].dispositivo.so %} - {% elif "android" in d[0].dispositivo.so.lower() %} + {% elif "android" in disp.lower() %} {% endif %} {{ disp.so }}