diff options
-rw-r--r-- | view/tpl/cloud_header.tpl | 9 |
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> 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> Upload</button> </div> + {{/if}} <h2>{{$header}}</h2> - <div class="clear"></div> + <div class="clear"></div> </div> -{{$actionspanel}} - +{{if $actionspanel}} + {{$actionspanel}} +{{/if}} |