Compare commits
2 Commits
5504fbf970
...
92e74d1d7d
Author | SHA1 | Date | |
---|---|---|---|
92e74d1d7d | |||
ea7b4f252b |
@ -3,16 +3,16 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
@if (ViewData.ContainsKey("Title"))
|
||||
{
|
||||
<title>
|
||||
@if (ViewData.ContainsKey("SelectedSiteMenuItem"))
|
||||
{
|
||||
@ViewBag.SelectedSiteMenuItem.Item2
|
||||
}
|
||||
else if (ViewData.ContainsKey("Title"))
|
||||
{
|
||||
@ViewData["Title"]
|
||||
}
|
||||
</title>
|
||||
}
|
||||
else
|
||||
{
|
||||
<title>Боликлиника</title>
|
||||
}
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/PolyclinicWebView.styles.css" asp-append-version="true" />
|
||||
@ -52,9 +52,12 @@
|
||||
</ul>
|
||||
@if (LoginManager.LogginedUser != null)
|
||||
{
|
||||
<form method="post" asp-action="Logout" asp-controller="User">
|
||||
<div class="d-flex align-items-center">
|
||||
@Html.RouteLink(LoginManager.LogginedUser.FIO, new { controller = "User", action = "Privacy" }, new { @title = "Личный кабинет" })
|
||||
<form class="ms-3" method="post" asp-action="Logout" asp-controller="User">
|
||||
<button class="btn btn-secondary" type="submit">Выйти</button>
|
||||
</form>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user