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 @@ - +{# #} - +{# #} - + - {% with can_ch_trf=perms.tariff_app.change_tariff can_del_abon=perms.abonapp.delete_abon %} + {% with can_ch_trf=perms.tariff_app.change_tariff %} {% for human in object_list %} {% if human.is_active %} {% else %} {% endif %} - +{# #} - +{# #} - + @@ -115,17 +115,17 @@ {% for user_icon in human.get_flag_icons %} {% endfor %} - {% empty %} -
## {% trans 'Sub' %} {% if order_by == 'username' %}{% endif %} {% trans 'Network' %} @@ -64,29 +64,29 @@ {% if order_by == 'ballance' %}{% endif %} #Ping
- +{# #} +{# #} {# {% if human.statcache.is_online %}#} {# #} {# {% else %}#} {# #} {# {% endif %}#} - {{ human.username }} {{ human.ip_address|default_if_none:'—' }}{{ human.fio|default:'—' }}{{ human.fio|default:'—' }} {{ human.street|default:_('Not assigned') }} {{ human.house|default:'—' }} {{ human.telephone }} - {% if can_del_abon %} - - + + {% if perms.abonapp.can_ping %} + + {% endif %}
+ {% trans 'Subscribers not found' %}. {% if perms.abonapp.add_abon %} {% trans 'Add abon' %}