Merge pull request #385 from aspnet/release/2.1
Use partial tag helper (#375)
This commit is contained in:
commit
001f37263b
|
|
@ -35,7 +35,7 @@
|
|||
<li><a asp-page="/Contact">Contact</a></li>
|
||||
</ul>
|
||||
@*#if (IndividualAuth || OrganizationalAuth)
|
||||
@await Html.PartialAsync("_LoginPartial")
|
||||
<partial name="_LoginPartial" />
|
||||
#elseif (WindowsAuth)
|
||||
<p class="nav navbar-text navbar-right">Hello, @User.Identity.Name!</p>
|
||||
#endif*@
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
<li><a asp-area="" asp-controller="Home" asp-action="Contact">Contact</a></li>
|
||||
</ul>
|
||||
@*#if (IndividualAuth || OrganizationalAuth)
|
||||
@await Html.PartialAsync("_LoginPartial")
|
||||
<partial name="_LoginPartial" />
|
||||
#elseif (WindowsAuth)
|
||||
<p class="nav navbar-text navbar-right">Hello, @User.Identity.Name!</p>
|
||||
#endif*@
|
||||
|
|
|
|||
Loading…
Reference in New Issue