mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 19:14:32 -05:00
This reverts commit c99b4106f544920ec7496c1cc1e4dbeff6aa597e.
This commit is contained in:
parent
cc96e35072
commit
b096568eea
@ -10,4 +10,6 @@ public class OrganizationsModel : PagedModel<Organization>
|
|||||||
public bool? Paid { get; set; }
|
public bool? Paid { get; set; }
|
||||||
public string Action { get; set; }
|
public string Action { get; set; }
|
||||||
public bool SelfHosted { get; set; }
|
public bool SelfHosted { get; set; }
|
||||||
|
|
||||||
|
public double StorageGB(Organization org) => org.Storage.HasValue ? Math.Round(org.Storage.Value / 1073741824D, 2) : 0;
|
||||||
}
|
}
|
||||||
|
@ -81,16 +81,7 @@
|
|||||||
<i class="fa fa-smile-o fa-lg fa-fw text-body-secondary" title="Freeloader"></i>
|
<i class="fa fa-smile-o fa-lg fa-fw text-body-secondary" title="Freeloader"></i>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if(org.MaxStorageGb.HasValue && org.MaxStorageGb > 1)
|
<i class="fa fa-hdd-o fa-lg fa-fw" title="Used Storage, @Model.StorageGB(org) GB"></i>
|
||||||
{
|
|
||||||
<i class="fa fa-plus-square fa-lg fa-fw"
|
|
||||||
title="Additional Storage, @(org.MaxStorageGb - 1) GB"></i>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<i class="fa fa-plus-square-o fa-lg fa-fw text-body-secondary"
|
|
||||||
title="No Additional Storage"></i>
|
|
||||||
}
|
|
||||||
@if(org.Enabled)
|
@if(org.Enabled)
|
||||||
{
|
{
|
||||||
<i class="fa fa-check-circle fa-lg fa-fw"
|
<i class="fa fa-check-circle fa-lg fa-fw"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user