mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Added storage utilization to uplaod page
This commit is contained in:
parent
2e945e7d9d
commit
a3d484009b
@ -1,4 +1,4 @@
|
||||
/// <binding ProjectOpened='watch' />
|
||||
/// <binding BeforeBuild='load-bundle, copy-assets, min, update-version' Clean='clean' />
|
||||
"use strict";
|
||||
|
||||
var gulp = require('gulp');
|
||||
|
@ -14,6 +14,7 @@ using Teknik.BillingCore;
|
||||
using Teknik.Configuration;
|
||||
using Teknik.Controllers;
|
||||
using Teknik.Data;
|
||||
using Teknik.Filters;
|
||||
using Teknik.Logging;
|
||||
using Teknik.Utilities.Routing;
|
||||
|
||||
@ -32,6 +33,7 @@ namespace Teknik.Areas.Billing.Controllers
|
||||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
[TrackPageView]
|
||||
public IActionResult ViewSubscriptions()
|
||||
{
|
||||
ViewBag.Title = "Subscriptions";
|
||||
|
@ -41,6 +41,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
@if (User.Identity.IsAuthenticated)
|
||||
{
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<small class="upload__drop-text text-muted">@StringHelper.GetBytesReadable(Model.CurrentTotalSize) / @StringHelper.GetBytesReadable(Model.MaxTotalSize) Storage</small>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<small class="upload__drop-text text-muted">(Individual file size limit @StringHelper.GetBytesReadable(Model.MaxUploadSize))</small>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/// <binding ProjectOpened='watch' />
|
||||
/// <binding BeforeBuild='load-bundle, copy-assets, eslint, min, update-version' Clean='clean' />
|
||||
"use strict";
|
||||
|
||||
var gulp = require('gulp');
|
||||
|
Loading…
Reference in New Issue
Block a user