mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
25 lines
811 B
Plaintext
25 lines
811 B
Plaintext
@inject Bit.Core.Settings.GlobalSettings GlobalSettings
|
|
@using System.Web
|
|
@model OrganizationViewModel
|
|
@{
|
|
ViewData["Title"] = "Organization: " + HttpUtility.HtmlDecode(Model.Organization.Name);
|
|
}
|
|
|
|
<h1>Organization <small>@HttpUtility.HtmlDecode(Model.Organization.Name)</small></h1>
|
|
|
|
@if (Model.Provider != null)
|
|
{
|
|
<h2>Provider Relationship</h2>
|
|
@await Html.PartialAsync("_ProviderInformation", Model.Provider)
|
|
}
|
|
<h2>Information</h2>
|
|
@await Html.PartialAsync("_ViewInformation", Model)
|
|
@if(GlobalSettings.SelfHosted)
|
|
{
|
|
@await Html.PartialAsync("Connections", Model)
|
|
}
|
|
<form asp-action="Delete" asp-route-id="@Model.Organization.Id"
|
|
onsubmit="return confirm('Are you sure you want to delete this organization?')">
|
|
<button class="btn btn-danger" type="submit">Delete</button>
|
|
</form>
|