From ea7b4f252b8488af09cc9acc44e97e8bc1967e0a Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Wed, 29 May 2024 12:55:40 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D0=B1=D1=89=D0=B8=D0=B9=20=D1=88=D0=B0=D0=B1?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=84=D0=B8=D0=BE=20=D0=B7=D0=B0=D0=BB=D0=BE=D0=B3?= =?UTF-8?q?=D0=B8=D0=BD=D0=B8=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Shared/_Layout.cshtml | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/Polyclinic/PolyclinicWebAppImplementer/Views/Shared/_Layout.cshtml b/Polyclinic/PolyclinicWebAppImplementer/Views/Shared/_Layout.cshtml index fa8f255..3550179 100644 --- a/Polyclinic/PolyclinicWebAppImplementer/Views/Shared/_Layout.cshtml +++ b/Polyclinic/PolyclinicWebAppImplementer/Views/Shared/_Layout.cshtml @@ -3,16 +3,16 @@ - - @if (ViewData.ContainsKey("SelectedSiteMenuItem")) - { - @ViewBag.SelectedSiteMenuItem.Item2 - } - else if (ViewData.ContainsKey("Title")) - { + @if (ViewData.ContainsKey("Title")) + { + <title> @ViewData["Title"] - } - + + } + else + { + Боликлиника + } @@ -50,11 +50,14 @@ } } - @if(LoginManager.LogginedUser != null) + @if (LoginManager.LogginedUser != null) { -
- -
+
+ @Html.RouteLink(LoginManager.LogginedUser.FIO, new { controller = "User", action = "Privacy" }, new { @title = "Личный кабинет" }) +
+ +
+
}