summaryrefslogtreecommitdiffstats
path: root/apps/files/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-05 18:21:41 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-05 18:21:41 +0200
commit62ae39208a0deed71d4cd373c6822946fd489586 (patch)
tree219d97cf14af0afb43939aa403a5863838cbc794 /apps/files/templates
parent9899e10a0411d161db1b4e1302690ac74c1ae72c (diff)
downloadnextcloud-server-62ae39208a0deed71d4cd373c6822946fd489586.tar.gz
nextcloud-server-62ae39208a0deed71d4cd373c6822946fd489586.zip
Add owner to the storage stats to enable better notifications
* getstoragestats.php returns now the owner and it's display name * show proper storage stats notifications for shared folders
Diffstat (limited to 'apps/files/templates')
-rw-r--r--apps/files/templates/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 77f80bc346d..a068f306ac4 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -11,6 +11,8 @@
<!-- config hints for javascript -->
<input type="hidden" name="filesApp" id="filesApp" value="1" />
<input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" />
+<input type="hidden" name="owner" id="owner" value="<?php p($_['owner']); ?>" />
+<input type="hidden" name="ownerDisplayName" id="ownerDisplayName" value="<?php p($_['ownerDisplayName']); ?>" />
<?php if (!$_['isPublic']) :?>
<input type="hidden" name="mailNotificationEnabled" id="mailNotificationEnabled" value="<?php p($_['mailNotificationEnabled']) ?>" />
<input type="hidden" name="mailPublicNotificationEnabled" id="mailPublicNotificationEnabled" value="<?php p($_['mailPublicNotificationEnabled']) ?>" />