From 67171e05b9310f7571df4d6c561a74301480b286 Mon Sep 17 00:00:00 2001 From: jendib Date: Sat, 20 Feb 2016 23:49:54 +0100 Subject: [PATCH] Closes #70: User profile metadata --- .../main/webapp/src/partial/docs/user.html | 1 + .../webapp/src/partial/docs/user.profile.html | 26 +++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/docs-web/src/main/webapp/src/partial/docs/user.html b/docs-web/src/main/webapp/src/partial/docs/user.html index 7641b148..07a5261d 100644 --- a/docs-web/src/main/webapp/src/partial/docs/user.html +++ b/docs-web/src/main/webapp/src/partial/docs/user.html @@ -13,6 +13,7 @@ {{ user.username }} + It's you! diff --git a/docs-web/src/main/webapp/src/partial/docs/user.profile.html b/docs-web/src/main/webapp/src/partial/docs/user.profile.html index 111467a9..4b225d04 100644 --- a/docs-web/src/main/webapp/src/partial/docs/user.profile.html +++ b/docs-web/src/main/webapp/src/partial/docs/user.profile.html @@ -2,5 +2,27 @@

{{ user.username }} {{ user.email }}

-

Documents created by {{ user.username }}

-TODO \ No newline at end of file +

Quota used

+
+
+
+
+ {{ (user.storage_current / user.storage_quota * 100) }}% Used +
+
+
+
+ +

Related links

+ \ No newline at end of file