From f27df0115874601481a954dea66752887a670629 Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Sat, 5 Sep 2020 23:06:15 -0400 Subject: [PATCH] update portal landing page with tiles (#915) --- .../src/Portal/Views/Home/Index.cshtml | 27 +++++++++++++++++-- src/Core/Resources/SharedResources.en.resx | 3 +++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/bitwarden_license/src/Portal/Views/Home/Index.cshtml b/bitwarden_license/src/Portal/Views/Home/Index.cshtml index e8c3d24bff..5324f15f18 100644 --- a/bitwarden_license/src/Portal/Views/Home/Index.cshtml +++ b/bitwarden_license/src/Portal/Views/Home/Index.cshtml @@ -1,8 +1,31 @@ @{ ViewData["Title"] = "Home Page"; } +@inject SignInManager SignInManager +@inject Bit.Core.Services.II18nService i18nService +@inject Bit.Portal.EnterprisePortalCurrentContext EnterprisePortalCurrentContext -

Hello world...

+
+ @if (EnterprisePortalCurrentContext.SelectedOrganizationDetails.UseSso && + EnterprisePortalCurrentContext.AdminForSelectedOrganization) + { + + } + + @if (EnterprisePortalCurrentContext.SelectedOrganizationDetails.UsePolicies && + EnterprisePortalCurrentContext.AdminForSelectedOrganization) + { + + } +
\ No newline at end of file diff --git a/src/Core/Resources/SharedResources.en.resx b/src/Core/Resources/SharedResources.en.resx index 6c692cad28..41d3e1945b 100644 --- a/src/Core/Resources/SharedResources.en.resx +++ b/src/Core/Resources/SharedResources.en.resx @@ -442,4 +442,7 @@ Never + + Welcome to the Bitwarden Business Portal +