From 9b05f8fa98317411229ba81dc6c888b86c24f27d Mon Sep 17 00:00:00 2001 From: Grizzly Date: Thu, 24 Jan 2019 18:00:20 +0000 Subject: [PATCH] =?UTF-8?q?Texte=20et=20couleur=20pour=20les=20machines=20?= =?UTF-8?q?d=C3=A9sactiv=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- machines/templates/machines/aff_machines.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index 4363cd6e..70b83d0a 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -52,7 +52,12 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "No name" as tr_no_name %} {% trans "View the profile" as tr_view_the_profile %} - {{ machine.get_name|default:tr_no_name }} + {% if machine.active %} + + {% else %} + Deactivated: + {% endif %} + {{ machine.get_name|default:tr_no_name }} {{ machine.user }}