From 3dfbc6cebcd44ac8804890f19abad64559ed6659 Mon Sep 17 00:00:00 2001 From: bashmak Date: Mon, 27 Feb 2017 11:27:35 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=8C=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- accounts_app/locale/ru/LC_MESSAGES/django.po | 12 ++++++++++++ accounts_app/templates/accounts/index.html | 17 +++++++---------- .../templates/accounts/profile_chgroup.html | 5 +++-- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/accounts_app/locale/ru/LC_MESSAGES/django.po b/accounts_app/locale/ru/LC_MESSAGES/django.po index 9034b79..4d9aea8 100644 --- a/accounts_app/locale/ru/LC_MESSAGES/django.po +++ b/accounts_app/locale/ru/LC_MESSAGES/django.po @@ -84,3 +84,15 @@ msgstr "Изменить инфу о себе" msgid "Permission options" msgstr "Настройка прав" + +msgid "The responsibility of the administrator of the group of subscribers" +msgstr "Ответственность администратора за группы абонентов" + +msgid "Is enable" +msgstr "Включён-ли" + +msgid "Last login" +msgstr "Последняя авторизация" + +msgid "Administrative access (all rights)" +msgstr "Административный доступ (все права)" diff --git a/accounts_app/templates/accounts/index.html b/accounts_app/templates/accounts/index.html index f3b987f..353bcc9 100644 --- a/accounts_app/templates/accounts/index.html +++ b/accounts_app/templates/accounts/index.html @@ -1,35 +1,32 @@ {% extends request.is_ajax|yesno:'nullcont.htm,accounts/ext.htm' %} +{% load i18n %} {% block content %} - + - + - + - + - + - - - - {% if request.user.is_superuser %} - + {% endif %} diff --git a/accounts_app/templates/accounts/profile_chgroup.html b/accounts_app/templates/accounts/profile_chgroup.html index bfb5437..22156fa 100644 --- a/accounts_app/templates/accounts/profile_chgroup.html +++ b/accounts_app/templates/accounts/profile_chgroup.html @@ -1,7 +1,8 @@ {% extends request.is_ajax|yesno:'nullcont.htm,accounts/ext.htm' %} +{% load i18n %} {% block content %} - Ответственность администратора за группы абонентов + {% trans 'The responsibility of the administrator of the group of subscribers' %}{% csrf_token %} {% for ag in abongroups %}
@@ -16,7 +17,7 @@
{% endfor %}
- +
Телефон{% trans 'Telephone' %} {{ userprofile.telephone }}
Логин{% trans 'User name' %} {{ userprofile.username }}
ФИО{% trans 'Name and surname' %} {{ userprofile.fio }}
Включён-ли{% trans 'Is enable' %}
Последняя авторизация{% trans 'Last login' %} {{ userprofile.last_login|date:"l d E Y H:i" }}
Выделенный ip<10.155.13.43>
Административный доступ (все права){% trans 'Administrative access (all rights)' %}