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"))
+ {
+
@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 = "Личный кабинет" })
+
+
}