From eac2a5a6a7f239303bc7bb41188a0160ef383c3a Mon Sep 17 00:00:00 2001 From: bashmak Date: Thu, 11 May 2017 13:12:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BA=D0=BB=D1=8E=D1=87=D0=B0=20=D0=B0=D0=B2=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20=D0=BF=D0=BE?= =?UTF-8?q?=20=D1=82=D1=80=D0=B0=D1=84=D0=B8=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- abonapp/templates/abonapp/peoples.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/abonapp/templates/abonapp/peoples.html b/abonapp/templates/abonapp/peoples.html index 8c248df..9a7a963 100644 --- a/abonapp/templates/abonapp/peoples.html +++ b/abonapp/templates/abonapp/peoples.html @@ -24,6 +24,7 @@ {% if order_by == 'username' %}{% endif %} + {% trans 'Last traffic' %} {% trans 'Ip address' %} @@ -66,7 +67,17 @@ {% else %} {% endif %} - {{ human.username }} + + {{ human.username }} + {% if human.is_online %} + + {% endif %} + + + {% if human.traf %} + {{ human.traf.cur_time|date:"H:i" }} + {% endif %} + {{ human.ip_address|default:_('Not assigned') }} {{ human.fio }} {{ human.street|default:_('Not assigned') }}