aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-12-21 21:48:10 +0100
committermarijus <mario@mariovavti.com>2014-12-21 21:48:10 +0100
commitbe1891c058ccff08d4cafa2bea061424efc0ef82 (patch)
tree2f81afba8475f9b0229e31a19e1d1b2c00fab104 /view/tpl
parent02328bfdbe0bda6a44e6bf2195d836b31dfef290 (diff)
downloadvolse-hubzilla-be1891c058ccff08d4cafa2bea061424efc0ef82.tar.gz
volse-hubzilla-be1891c058ccff08d4cafa2bea061424efc0ef82.tar.bz2
volse-hubzilla-be1891c058ccff08d4cafa2bea061424efc0ef82.zip
fix button visibility
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/cloud_header.tpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/view/tpl/cloud_header.tpl b/view/tpl/cloud_header.tpl
index 562ae0d02..f5f123edb 100644
--- a/view/tpl/cloud_header.tpl
+++ b/view/tpl/cloud_header.tpl
@@ -1,10 +1,13 @@
<div class="section-title-wrapper">
+ {{if $actionspanel}}
<div class="pull-right">
<button id="files-create-btn"class="btn btn-xs btn-primary" title="{{if $quota.limit || $quota.used}}{{$quota.desc}}{{/if}}" onclick="openClose('files-mkdir-tools'); closeMenu('files-upload-tools');"><i class="icon-folder-close-alt"></i>&nbsp;Create</button>
<button id="files-upload-btn" class="btn btn-xs btn-success" title="{{if $quota.limit || $quota.used}}{{$quota.desc}}{{/if}}" onclick="openClose('files-upload-tools'); closeMenu('files-mkdir-tools');"><i class="icon-upload"></i>&nbsp;Upload</button>
</div>
+ {{/if}}
<h2>{{$header}}</h2>
- <div class="clear"></div>
+ <div class="clear"></div>
</div>
-{{$actionspanel}}
-
+{{if $actionspanel}}
+ {{$actionspanel}}
+{{/if}}