diff --git a/abonapp/templates/abonapp/peoples.html b/abonapp/templates/abonapp/peoples.html index a74ca9e..0ecc717 100644 --- a/abonapp/templates/abonapp/peoples.html +++ b/abonapp/templates/abonapp/peoples.html @@ -24,14 +24,14 @@
| # | +{## | #}{% trans 'Sub' %} {% if order_by == 'username' %}{% endif %} | -{% trans 'Last traffic' %} | +{#{% trans 'Last traffic' %} | #}{% trans 'Network' %} | @@ -64,29 +64,29 @@ {% if order_by == 'ballance' %}{% endif %} | {% trans 'Markers' %} | -# | +Ping | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - +{# | #} +{# #} {# {% if human.statcache.is_online %}#} {# #} {# {% else %}#} {# #} {# {% endif %}#} - | +{# #}{{ human.username }} | -+{# | #} {# {% if human.statcache %}#} {# {% if human.statcache.is_today %}#} {# {{ human.statcache.last_time|date:"H:i" }}#} @@ -94,9 +94,9 @@ {# {{ human.statcache.last_time|date:"D H:i" }}#} {# {% endif %}#} {# {% endif %}#} - | +{# #}{{ human.ip_address|default_if_none:'—' }} | -{{ human.fio|default:'—' }} | +{{ human.fio|default:'—' }} | {{ human.street|default:_('Not assigned') }} | {{ human.house|default:'—' }} | {{ human.telephone }} | @@ -115,17 +115,17 @@ {% for user_icon in human.get_flag_icons %} {% endfor %} -- {% if can_del_abon %} - - + | + {% if perms.abonapp.can_ping %} + + {% endif %} | |||||||||
| + | {% trans 'Subscribers not found' %}. {% if perms.abonapp.add_abon %} {% trans 'Add abon' %} | ||||||||||||||||||||