Disk quota

This commit is contained in:
Paul Schneider 2016-11-30 11:05:10 +01:00
commit 81b9a2522e
9 changed files with 1193 additions and 22 deletions

View file

@ -99,6 +99,18 @@
@(Model.Balance?.Credits ?? 0) €
[<a asp-action="Credits">@SR["Manage"]</a>]
</dd>
<dt>Usage disque</dt>
<dd>
@if (Model.DiskQuota>0)
{
<text>
@((Model.DiskUsage/Model.DiskQuota).ToString("%#0")) :
</text>
}
<text>
@(Model.DiskUsage.ToString("0,#")) / @(Model.DiskQuota.ToString("0,#"))
</text>
</dd>
</dl>
<h4>
<a asp-controller="Account" asp-action="Delete" >@SR["Unregister"]</a>