From e755edc8c6a00c47bcfec4ebfb89f6dad787f95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sat, 6 Jan 2018 13:30:16 +0300 Subject: [PATCH] Write tenant name on top bar. --- .../Views/Shared/Components/AbpMenu/Default.cshtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml index e4b75154c1..c3826aca41 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/Views/Shared/Components/AbpMenu/Default.cshtml @@ -34,16 +34,16 @@ } } - - @if (CurrentTenant.Id == null) + + @if (CurrentTenant.IsAvailable) { - no-tenant + @CurrentTenant.Name?.ToString() } else { - @CurrentTenant.Id.ToString() + no-tenant } - +  |  @if (CurrentUser.IsAuthenticated)