diff --git a/Teknik/Areas/Privacy/Views/Privacy/Index.cshtml b/Teknik/Areas/Privacy/Views/Privacy/Index.cshtml index c1018b8..7798089 100644 --- a/Teknik/Areas/Privacy/Views/Privacy/Index.cshtml +++ b/Teknik/Areas/Privacy/Views/Privacy/Index.cshtml @@ -47,7 +47,7 @@
- We use Piwik to track user interaction with the site. This will store the first 2 bytes of your IP Address (e.g. 192.168.xxx.xxx) as an identifier. + We use Piwik to track user interaction with the site. This will store the first 2 bytes of your IP Address (e.g. 192.168.xxx.xxx) as an identifier. If you do not want to be tracked, enable Do Not Track in your browser (Recommended), or by unchecking below.
diff --git a/Teknik/Areas/Transparency/Controllers/TransparencyController.cs b/Teknik/Areas/Transparency/Controllers/TransparencyController.cs index 0a5746b..d13874c 100644 --- a/Teknik/Areas/Transparency/Controllers/TransparencyController.cs +++ b/Teknik/Areas/Transparency/Controllers/TransparencyController.cs @@ -29,6 +29,9 @@ namespace Teknik.Areas.Transparency.Controllers Profile.Models.User user = db.Users.OrderByDescending(u => u.UserId).FirstOrDefault(); model.UserCount = (user != null) ? user.UserId : 0; + Shortener.Models.ShortenedUrl url = db.ShortenedUrls.OrderByDescending(s => s.ShortenedUrlId).FirstOrDefault(); + model.ShortenedUrlCount = (url != null) ? url.ShortenedUrlId : 0; + model.TotalNet = new DictionaryNumber of Users: @Model.UserCount
+Number of Shortened Urls: @Model.ShortenedUrlCount
+