diff --git a/~dev_rating/application/views/base.twig b/~dev_rating/application/views/base.twig index 37ce065cd4892b7fc5a2246e5eeb90e308f5cff2..44b915cc93908071cfd5d0cfc4a1cc19639a811b 100644 --- a/~dev_rating/application/views/base.twig +++ b/~dev_rating/application/views/base.twig @@ -105,6 +105,8 @@ {{ HTML.image('static/img/messageIcon.png', {'height': '11px'})|raw }} (1) </div> include 'messages/messages' #} + + {# see media/js/profile.js, views/profile/*.twig #} <div id="username">{{ User.FirstName }} {{ User.LastName }}</div> {% if User.isAdmin or User.isDean %} diff --git a/~dev_rating/application/views/profile/student.twig b/~dev_rating/application/views/profile/student.twig index 8ffb1191efb693df147487862092bddc36b21b4c..255d084526c69ca5852128b7a7d22fbed5f326cd 100644 --- a/~dev_rating/application/views/profile/student.twig +++ b/~dev_rating/application/views/profile/student.twig @@ -12,7 +12,7 @@ </div> <div class="clearFix profile_delimeter"> <div class="label">Курс, группа:</div> - <div class="content">{{ User.Degree }}, {{ User.GradeNum }} курс, {{ User.GroupNum }} группа</div> + <div class="content">{{ Rus[User.Degree] }}, {{ User.GradeNum }} курс, {{ User.GroupNum }} группа</div> </div> <div class="clearFix"> <div class="label">Тип аккаунта:</div> @@ -26,4 +26,4 @@ <div class="label">E-Mail:</div> <div class="content">{{ User.EMail }}</div> </div> -</div> \ No newline at end of file +</div>