aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-21 12:40:09 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-21 12:40:09 +0200
commita33ddf373bc8a83ec7d440b46710642e26171800 (patch)
tree45329e54a07f223ee8e9a0f77a16d4378262d628 /view
parentb57e73519975b8d9cc5887c2e35cb36dda6463dc (diff)
downloadvolse-hubzilla-a33ddf373bc8a83ec7d440b46710642e26171800.tar.gz
volse-hubzilla-a33ddf373bc8a83ec7d440b46710642e26171800.tar.bz2
volse-hubzilla-a33ddf373bc8a83ec7d440b46710642e26171800.zip
move file storage quota display to upload section. add a warning if remaining space is less than 100MB and fix % calculation
Diffstat (limited to 'view')
-rw-r--r--view/tpl/cloud_actionspanel.tpl1
-rw-r--r--view/tpl/cloud_header.tpl1
2 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl
index da708a98c..4d2afa8ef 100644
--- a/view/tpl/cloud_actionspanel.tpl
+++ b/view/tpl/cloud_actionspanel.tpl
@@ -8,6 +8,7 @@
<div class="clear"></div>
</div>
<div id="files-upload-tools" class="section-content-tools-wrapper form-group">
+ {{if $quota.limit || $quota.used}}<div class="{{if $quota.warning}}section-content-danger-wrapper{{else}}section-content-info-wrapper{{/if}}">{{$quota.desc}}</div>{{/if}}
<label for="files-upload">{{$upload_header}}</label>
<form method="post" action="" enctype="multipart/form-data">
<input type="hidden" name="sabreAction" value="put">
diff --git a/view/tpl/cloud_header.tpl b/view/tpl/cloud_header.tpl
index 0786b46ba..076fa16cb 100644
--- a/view/tpl/cloud_header.tpl
+++ b/view/tpl/cloud_header.tpl
@@ -9,7 +9,6 @@
</div>
{{/if}}
<h2>{{$header}}</h2>
- {{if $quota.limit || $quota.used}}{{$quota.desc}}{{/if}}
<div class="clear"></div>
</div>
{{if $actionspanel}}