From 89ace914eed3599fe260a1dce98adf20267a8599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A0=D1=83=D0=B4?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D1=86?= <andrey.rudenets@gmail.com> Date: Tue, 30 Dec 2014 01:07:55 +0300 Subject: [PATCH] Fix --- ~dev_rating/application/views/base.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/~dev_rating/application/views/base.twig b/~dev_rating/application/views/base.twig index 7226faaaf..3d1f4a9cb 100644 --- a/~dev_rating/application/views/base.twig +++ b/~dev_rating/application/views/base.twig @@ -70,8 +70,8 @@ {{ User.First }} {{ User.Last }} </div> | - {% if User.RoleMark == 16 %} - {{ HTML.anchor('dean_office', 'Деканат')|raw }} + {% if (User.RoleMark b-and 16) != 0 %} + {{ HTML.anchor('dean_office', 'Деканат')|raw }} {% endif %} {% if User.RoleMark == 4 %} {{ HTML.anchor('admin', 'Администрирование', {'title': 'Перейти в панель управления системой'})|raw }} -- GitLab