mirror of https://github.com/abpframework/abp.git
2 changed files with 28 additions and 15 deletions
@ -1,14 +1,17 @@ |
|||||
@using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.Components.TenantSwitch |
@using Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.Components.TenantSwitch |
||||
@model TenantSwitchViewComponent.TenantSwitchViewModel |
@model TenantSwitchViewComponent.TenantSwitchViewModel |
||||
<li class="nav-item"> |
@if (!Model.CurrentUser.IsAuthenticated) |
||||
<a abp-button="Link" id="TenantSwitchToolbarLink" href="#"> |
{ |
||||
@if (Model.Tenant == null) |
<li class="nav-item"> |
||||
{ |
<a abp-button="Link" id="TenantSwitchToolbarLink" href="#"> |
||||
<text>@@host</text> |
@if (Model.Tenant == null) |
||||
} |
{ |
||||
else |
<text>@@host</text> |
||||
{ |
} |
||||
<text>@@@Model.Tenant.Name</text> |
else |
||||
} |
{ |
||||
</a> |
<text>@@@Model.Tenant.Name</text> |
||||
</li> |
} |
||||
|
</a> |
||||
|
</li> |
||||
|
} |
||||
Loading…
Reference in new issue