From d3823164396b532eaad2647bfdedc4a28f5918a8 Mon Sep 17 00:00:00 2001 From: www-data Date: Tue, 15 May 2018 10:42:21 +0300 Subject: [PATCH] Show group tech code in group list --- group_app/locale/ru/LC_MESSAGES/django.po | 3 +++ group_app/templates/group_app/group_list.html | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/group_app/locale/ru/LC_MESSAGES/django.po b/group_app/locale/ru/LC_MESSAGES/django.po index 4e5baf8..d416381 100644 --- a/group_app/locale/ru/LC_MESSAGES/django.po +++ b/group_app/locale/ru/LC_MESSAGES/django.po @@ -76,3 +76,6 @@ msgstr "Новая группа успешно создана" msgid "Tech code" msgstr "Технический код" + +msgid "TeCo" +msgstr "Тех. код" diff --git a/group_app/templates/group_app/group_list.html b/group_app/templates/group_app/group_list.html index 99e3ae3..7ac7a50 100644 --- a/group_app/templates/group_app/group_list.html +++ b/group_app/templates/group_app/group_list.html @@ -16,6 +16,7 @@ # + {% trans 'TeCo' %} {% trans 'Title' %} @@ -29,8 +30,9 @@ {% for gr in groups %} {{ gr.pk }} + {{ gr.code }} - + {{ gr.title }} @@ -42,13 +44,13 @@ {% empty %} - {% trans 'Groups was not found' %} + {% trans 'Groups was not found' %} {% endfor %} - +