aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-05-07 14:27:43 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-05-07 14:27:43 +0300
commit7470da2719a404b344fec4d6b2fefd92f4ce22a5 (patch)
tree2fd27618625fb58c238c468139f37a43731d6ac5 /ExamTemplate/Web/Views/Shared/_Navbar.cshtml
parent380f4d5d6120dcdb36e904aae98dd2e24db8a974 (diff)
downloadit-kariera-exam-template-7470da2719a404b344fec4d6b2fefd92f4ce22a5.tar
it-kariera-exam-template-7470da2719a404b344fec4d6b2fefd92f4ce22a5.tar.gz
it-kariera-exam-template-7470da2719a404b344fec4d6b2fefd92f4ce22a5.zip
Implemented user profile page
Diffstat (limited to 'ExamTemplate/Web/Views/Shared/_Navbar.cshtml')
-rw-r--r--ExamTemplate/Web/Views/Shared/_Navbar.cshtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
index cde4b15..7ae8f50 100644
--- a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
+++ b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
@@ -13,7 +13,9 @@
<section>
@if (SignInManager.IsSignedIn(User))
{
- <a asp-controller="User" asp-action="">@UserManager.GetUserName(User)</a>
+ <a asp-controller="User" asp-action="Profile" asp-route-username="@UserManager.GetUserName(User)">
+ @UserManager.GetUserName(User)
+ </a>
<form asp-controller="User" asp-action="Logout" method="post">
<input type="submit" value="Logout">