diff --git a/IdentityServer/gulpfile.js b/IdentityServer/gulpfile.js index a244633..e29ee05 100644 --- a/IdentityServer/gulpfile.js +++ b/IdentityServer/gulpfile.js @@ -1,4 +1,4 @@ -/// +/// "use strict"; var gulp = require('gulp'); diff --git a/Teknik/Areas/Billing/Controllers/BillingController.cs b/Teknik/Areas/Billing/Controllers/BillingController.cs index 984f4f8..bcbeddd 100644 --- a/Teknik/Areas/Billing/Controllers/BillingController.cs +++ b/Teknik/Areas/Billing/Controllers/BillingController.cs @@ -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"; diff --git a/Teknik/Areas/Upload/Views/Upload/Index.cshtml b/Teknik/Areas/Upload/Views/Upload/Index.cshtml index ccc85e8..0d0a998 100644 --- a/Teknik/Areas/Upload/Views/Upload/Index.cshtml +++ b/Teknik/Areas/Upload/Views/Upload/Index.cshtml @@ -41,6 +41,14 @@
+ @if (User.Identity.IsAuthenticated) + { +
+
+ @StringHelper.GetBytesReadable(Model.CurrentTotalSize) / @StringHelper.GetBytesReadable(Model.MaxTotalSize) Storage +
+
+ }
(Individual file size limit @StringHelper.GetBytesReadable(Model.MaxUploadSize)) diff --git a/Teknik/gulpfile.js b/Teknik/gulpfile.js index 0494cc8..c057dee 100644 --- a/Teknik/gulpfile.js +++ b/Teknik/gulpfile.js @@ -1,4 +1,4 @@ -/// +/// "use strict"; var gulp = require('gulp');