main
Last change
on this file was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago |
init commit Elena
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | @inject SignInManager<IdentityUser> SignInManager
|
---|
2 | @{
|
---|
3 | var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();
|
---|
4 | }
|
---|
5 | <ul class="nav nav-pills flex-column">
|
---|
6 | <li class="nav-item"><a class="nav-link @ManageNavPages.IndexNavClass(ViewContext)" id="profile" asp-page="./Index">Profile</a></li>
|
---|
7 | <li class="nav-item"><a class="nav-link @ManageNavPages.EmailNavClass(ViewContext)" id="email" asp-page="./Email">Email</a></li>
|
---|
8 | <li class="nav-item"><a class="nav-link @ManageNavPages.ChangePasswordNavClass(ViewContext)" id="change-password" asp-page="./ChangePassword">Password</a></li>
|
---|
9 | @if (hasExternalLogins)
|
---|
10 | {
|
---|
11 | <li id="external-logins" class="nav-item"><a id="external-login" class="nav-link @ManageNavPages.ExternalLoginsNavClass(ViewContext)" asp-page="./ExternalLogins">External logins</a></li>
|
---|
12 | }
|
---|
13 | <li class="nav-item"><a class="nav-link @ManageNavPages.PersonalDataNavClass(ViewContext)" id="personal-data" asp-page="./PersonalData">Personal data</a></li>
|
---|
14 | </ul>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.