aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cloud_header.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-01-28 09:49:36 +0100
committermarijus <mario@mariovavti.com>2015-01-28 09:49:36 +0100
commitf455036905d83a7983998835b24bfcaf1bed1045 (patch)
tree86b35e727d8f4164f268077074f3f8d222c811f9 /view/tpl/cloud_header.tpl
parent87814670c19667d211e8087242d9473ab9f4a46b (diff)
downloadvolse-hubzilla-f455036905d83a7983998835b24bfcaf1bed1045.tar.gz
volse-hubzilla-f455036905d83a7983998835b24bfcaf1bed1045.tar.bz2
volse-hubzilla-f455036905d83a7983998835b24bfcaf1bed1045.zip
show shared button only to local user
Diffstat (limited to 'view/tpl/cloud_header.tpl')
-rw-r--r--view/tpl/cloud_header.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/cloud_header.tpl b/view/tpl/cloud_header.tpl
index 403323085..c75815d07 100644
--- a/view/tpl/cloud_header.tpl
+++ b/view/tpl/cloud_header.tpl
@@ -1,7 +1,9 @@
<div class="section-title-wrapper">
{{if $actionspanel}}
<div class="pull-right">
+ {{if $is_owner}}
<a href="/sharedwithme" class="btn btn-xs btn-default"><i class="icon-cloud-download"></i>&nbsp;{{$shared}}</a>
+ {{/if}}
<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>